Telogis.GeoBase.Canvas.Shapes.Label |
Label inherits from Canvas.Shapes.AbstractShape.
Represents a label, as displayed in a Canvas renderer. This should not be constructed explicitly, but rather generated as the result of a call to Canvas.Label.
Name | Description |
---|---|
Label(canvas) | Arguments
|
Name | Type | Description |
---|---|---|
fontFamily | String | The font family used for the text on the label. Defaults to 'Arial'. |
fontSize | Number | The font size used for the text on the label. Defaults to '11'. |
fontStyle | String | The font style used for the text on the label. Defaults to 'normal'. |
point | Point | The pixel coordinates of the center of the label, relative to the upper-left corner of the canvas area. |
text | String | The text displayed on the label. |