LabelGraphics

new LabelGraphics()

An optionally time-dynamic label.

Members

readonlydefinitionChanged :Event

Gets the event that is raised whenever a new property is assigned.

eyeOffset :Property

Gets or sets the Cartesian3 Property specifying the label's eye offset.

fillColor :Property

Gets or sets the Color Property specifying the the label's fill color.

font :Property

Gets or sets the string Property specifying the the label's font.

horizontalOrigin :Property

Gets or sets the HorizontalOrigin Property specifying the label's horizontal origin.

outlineColor :Property

Gets or sets the Color Property specifying the the label's outline color.

outlineWidth :Property

Gets or sets the numeric Property specifying the the label outline's width.

pixelOffset :Property

Gets or sets the Cartesian2 Property specifying the label's pixel offset.

pixelOffsetScaleByDistance :Property

Gets or sets the NearFarScalar Property used to set pixel offset scaling based on distance. If undefined, no additional scale is applied to the pixel offset

scale :Property

Gets or sets the numeric Property specifying the label's scale.

show :Property

Gets or sets the boolean Property specifying the label's visibility.

style :Property

Gets or sets the LabelStyle Property specifying the the label's style.

text :Property

Gets or sets the string Property specifying the the label's text.

translucencyByDistance :Property

Gets or sets the NearFarScalar Property used to set translucency based on distance. If undefined, a constant size is used.

verticalOrigin :Property

Gets or sets the VerticalOrigin Property specifying the label's vertical origin.

Methods

clone(result)LabelGraphics

Duplicates a LabelGraphics instance.
Name Type Description
result LabelGraphics optional The object onto which to store the result.
Returns:
The modified result parameter or a new instance if one was not provided.

merge(source)

Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description
source LabelGraphics The object to be merged into this object.