@JsType(isNative=true,
        namespace="Cesium",
        name="LabelGraphics")
public class LabelGraphics
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
Gets or sets the distance from the camera at which to disable the depth test to, for example,
 prevent clipping against terrain. 
 | 
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. 
 | 
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 | 
|---|
LabelGraphics()  | 
LabelGraphics(LabelGraphicsOptions options)  | 
| Modifier and Type | Method and Description | 
|---|---|
LabelGraphics | 
clone(LabelGraphics result)
Duplicates this instance. 
 | 
Event | 
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified. 
 | 
void | 
merge(LabelGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object. 
 | 
@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 disableDepthTestDistance
@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 Property heightReference
HeightReference.NONE()@JsProperty public Property distanceDisplayCondition
@JsConstructor public LabelGraphics()
@JsConstructor public LabelGraphics(LabelGraphicsOptions options)
@JsProperty(name="definitionChanged") public Event definitionChanged()
public LabelGraphics clone(@JsOptional LabelGraphics result)
result - The object onto which to store the result.public void merge(LabelGraphics source)
source - The object to be merged into this object.Copyright © 2019. All rights reserved.