new DynamicLabel
An optionally time-dynamic label.
Members
-
eyeOffset :Property
-
Gets or sets the Cartesian3 Property specifying the label's eye offset.
-
fillColor :Property
-
-
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
-
-
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
-
propertyChanged :Event
-
Gets the event that is raised whenever a new property is assigned.
-
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
-
Duplicates a DynamicLabel instance.
Parameters:
Name Type Argument Description result
DynamicLabel <optional>
The object onto which to store the result. Returns:
DynamicLabel The modified result parameter or a new instance if one was not provided. -
merge
-
Assigns each unassigned property on this object to the value of the same property on the provided source object.
Parameters:
Name Type Description source
DynamicLabel The object to be merged into this object. Throws:
DeveloperError : source is required.