Click or drag to resize

Telogis.GeoBase.Canvas.Shapes.Label

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Label Class

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.

Constructor
NameDescription
Label(canvas)

Arguments

Properties
NameTypeDescription
fontFamilyString

The font family used for the text on the label. Defaults to 'Arial'.

fontSizeNumber

The font size used for the text on the label. Defaults to '11'.

fontStyleString

The font style used for the text on the label. Defaults to 'normal'.

pointPoint

The pixel coordinates of the center of the label, relative to the upper-left corner of the canvas area.

textString

The text displayed on the label.