Appearance
KBE3D / KBCore / Cesium / LabelGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the LabelGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the label.
text?
optionaltext:string|Property
A Property specifying the text. Explicit newlines '\n' are supported.
font?
optionalfont:string|Property
A Property specifying the CSS font.
style?
optionalstyle:Property|LabelStyle
A Property specifying the LabelStyle.
scale?
optionalscale:number|Property
A numeric Property specifying the scale to apply to the text.
showBackground?
optionalshowBackground:boolean|Property
A boolean Property specifying the visibility of the background behind the label.
backgroundColor?
A Property specifying the background Color.
backgroundPadding?
optionalbackgroundPadding:Property|Cartesian2
A Cartesian2 Property specifying the horizontal and vertical background padding in pixels.
pixelOffset?
optionalpixelOffset:Property|Cartesian2
A Cartesian2 Property specifying the pixel offset.
eyeOffset?
optionaleyeOffset:Property|Cartesian3
A Cartesian3 Property specifying the eye offset.
horizontalOrigin?
optionalhorizontalOrigin:Property|HorizontalOrigin
A Property specifying the HorizontalOrigin.
verticalOrigin?
optionalverticalOrigin:Property|VerticalOrigin
A Property specifying the VerticalOrigin.
heightReference?
optionalheightReference:Property|HeightReference
A Property specifying what the height is relative to.
fillColor?
A Property specifying the fill Color.
outlineColor?
A Property specifying the outline Color.
outlineWidth?
optionaloutlineWidth:number|Property
A numeric Property specifying the outline width.
translucencyByDistance?
optionaltranslucencyByDistance:Property|NearFarScalar
A NearFarScalar Property used to set translucency based on distance from the camera.
pixelOffsetScaleByDistance?
optionalpixelOffsetScaleByDistance:Property|NearFarScalar
A NearFarScalar Property used to set pixelOffset based on distance from the camera.
scaleByDistance?
optionalscaleByDistance:Property|NearFarScalar
A NearFarScalar Property used to set scale based on distance from the camera.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this label will be displayed.
disableDepthTestDistance?
optionaldisableDepthTestDistance:number|Property
A Property specifying the distance from the camera at which to disable the depth test to.
