TileDrawData Class
An object litteral containing data used by 'Renderer' to draw a map tile.
Only one TileDrawData object is used per tile when rendering.
The final TileDrawData object used to draw may have been created by merging multiple TileDrawData objects from multiple sources.
Item Index
Properties
bgColor
Css color | False
Background color.
borderColor
Css color | False
Border color. If false no border will be drawn.
borderWidth
Number | False
Border width.
If this.borderColor is set this.borderWidth will default to 1 if not set.
char
String | False
The character to be drawn.
charStrokeColor
Css color | False
Character stroke color.
charStrokeColor
Css color | False
Character stroke color.
charStrokeWidth
Number | False
Character stroke width.
If this.charStrokeColor is set this.charStrokeWidth will default to 1 if not set.
color
Css color | False
Character color.
font
String | False
Font to be used when drawing character.
If not set Renderer.font is used.
fontSize
Number | False
Font size to be used when drawing character.
If not set Renderer.fontSize is used.
offsetX
Number | False
Pixel offset of character.
offsetY
Number | False
Pixel offset of character.
textAlign
String | False
Text alignment of character. Valid values: 'left', 'right', 'center', 'start', 'end'.
textBaseline
String | False
Text baseling of character. Valid values: 'alphabetic', 'top', 'hanging', 'middle', 'ideographic', 'bottom'.
