Interface: WT21MapStyles
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:4
Styles used across a WT21 map.
Properties
arrowStrokeWidth
readonly
arrowStrokeWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:23
The default stroke width for svg arrows in pixels. Already scaled with map canvas scale.
bigLabelOffset
readonly
bigLabelOffset:ReadonlyFloat64Array
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:40
The offset to use for big offset labels as a float 64 array. Already scaled with map canvas scale.
bigLabelOffsetPx
readonly
bigLabelOffsetPx:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:37
The offset to use for big offset labels in pixels. Already scaled with map canvas scale.
canvasScale
readonly
canvasScale:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:6
Should really only be 1 or 0.5.
fontOutlineWidth
readonly
fontOutlineWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:13
The default font outline width in pixels. Already scaled with map canvas scale.
labelFontSize
readonly
labelFontSize:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:10
The default label font size in pixels. Already scaled with map canvas scale.
labelLineHeight
readonly
labelLineHeight:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:16
The number of pixels to vertically offset labels from eachother by. Already scaled with map canvas scale.
mapIconSize
readonly
mapIconSize:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:44
Size of map icons. Already scaled with map canvas scale.
outlineWidth
readonly
outlineWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:26
The default outline width in pixels. Already scaled with map canvas scale.
smallLabelOffset
readonly
smallLabelOffset:ReadonlyFloat64Array
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:33
The offset to use for small offset labels as a float 64 array. Already scaled with map canvas scale.
smallLabelOffsetPx
readonly
smallLabelOffsetPx:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:30
The offset to use for small offset labels in pixels. Already scaled with map canvas scale.
strokeWidth
readonly
strokeWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:20
The default stroke width in pixels. Already scaled with map canvas scale.