@JsType(isNative=true,
namespace="<global>",
name="Object")
public class LabelGraphicsOptions
extends Object
| Modifier and Type | Field and Description |
|---|---|
Property |
backgroundColor
A Property specifying the background Color.
|
Property |
backgroundPadding
A Cartesian2 Property specifying the horizontal and vertical background padding in pixels.
|
Property |
disableDepthTestDistance
A Property specifying the distance from the camera at which to disable the depth test to.
|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this label will be displayed.
|
Property |
eyeOffset
A Cartesian3 Property specifying the eye offset.
|
Property |
fillColor
A Property specifying the fill Color.
|
Property |
font
A Property specifying the CSS font.
|
Property |
heightReference
A Property specifying what the height is relative to.
|
Property |
horizontalOrigin
A Property specifying the HorizontalOrigin.
|
Property |
outlineColor
A Property specifying the outline Color.
|
Property |
outlineWidth
A numeric Property specifying the outline width.
|
Property |
pixelOffset
A Cartesian2 Property specifying the pixel offset.
|
Property |
pixelOffsetScaleByDistance
A NearFarScalar Property used to set pixelOffset based on distance from the camera.
|
Property |
scale
A numeric Property specifying the scale to apply to the text.
|
NearFarScalar |
scaleByDistance
Gets or sets near and far scaling properties of a Label based on the label's distance from the camera.
|
Property |
show
A boolean Property specifying the visibility of the label.
|
Property |
showBackground
A boolean Property specifying the visibility of the background behind the label.
|
Property |
style
A Property specifying the LabelStyle.
|
Property |
text
A Property specifying the text.
|
Property |
translucencyByDistance
A NearFarScalar Property used to set translucency based on distance from the camera.
|
Property |
verticalOrigin
A Property specifying the VerticalOrigin.
|
| Constructor and Description |
|---|
LabelGraphicsOptions()
Options for
LabelGraphics |
@JsProperty public Property text
@JsProperty public Property font
@JsProperty public Property style
LabelStyle.FILL()@JsProperty public Property fillColor
Color.BLACK()@JsProperty public Property outlineColor
Color.BLACK()@JsProperty public Property outlineWidth
@JsProperty public Property show
@JsProperty public Property showBackground
@JsProperty public Property backgroundColor
@JsProperty public Property backgroundPadding
@JsProperty public Property scale
@JsProperty public Property horizontalOrigin
VerticalOrigin.CENTER()@JsProperty public Property verticalOrigin
VerticalOrigin.CENTER()@JsProperty public Property eyeOffset
Cartesian3.ZERO()@JsProperty public Property pixelOffset
Cartesian2.ZERO()@JsProperty public Property translucencyByDistance
@JsProperty public Property pixelOffsetScaleByDistance
@JsProperty public NearFarScalar scaleByDistance
NearFarScalar.nearValue and NearFarScalar.farValue while the camera
distance falls within the upper and lower bounds of the specified NearFarScalar.near and NearFarScalar.far.
Outside of these ranges the label's scale remains clamped to the nearest bound. If undefined,
scaleByDistance will be disabled.@JsProperty public Property heightReference
HeightReference.NONE()@JsProperty public Property distanceDisplayCondition
@JsProperty public Property disableDepthTestDistance
@JsConstructor public LabelGraphicsOptions()
LabelGraphicsCopyright © 2019. All rights reserved.