Class

cesium

LabelGraphics

Related Doc: package cesium

Permalink

class LabelGraphics extends Object

Describes a two dimensional label located at the position of the containing Entity


Example labels

alias LabelGraphics

- The options object takes the following properties - {Property} [options.text] A Property specifying the text. - {Property} [options.font='10px sans-serif'] A Property specifying the CSS font. - {Property} [options.style=LabelStyle.FILL] A Property specifying the LabelStyle - {Property} [options.fillColor=Color.WHITE] A Property specifying the fill Color - {Property} [options.outlineColor=Color.BLACK] A Property specifying the outline Color - {Property} [options.outlineWidth=1.0] A numeric Property specifying the outline width. - {Property} [options.show=true] A boolean Property specifying the visibility of the label. - {Property} [options.scale=1.0] A numeric Property specifying the scale to apply to the text. - {Property} [options.horizontalOrigin=HorizontalOrigin.CENTER] A Property specifying the HorizontalOrigin - {Property} [options.verticalOrigin=VerticalOrigin.CENTER] A Property specifying the VerticalOrigin - {Property} [options.eyeOffset=Cartesian3.ZERO] A Cartesian3 Property specifying the eye offset. - {Property} [options.pixelOffset=Cartesian2.ZERO] A Cartesian2 Property specifying the pixel offset. - {Property} [options.translucencyByDistance] A NearFarScalar Property used to set translucency based on distance from the camera. - {Property} [options.pixelOffsetScaleByDistance] A NearFarScalar Property used to set pixelOffset based on distance from the camera.

demo Sandcastle Labels Demo

Annotations
@RawJSType() @native() @JSName( "Cesium.LabelGraphics" )
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LabelGraphics
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LabelGraphics(options: LabelGraphicsOptions)

    Permalink
  2. new LabelGraphics()

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(result: LabelGraphics = ???): LabelGraphics

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var definitionChanged: Event

    Permalink
  8. var distanceDisplayCondition: Property

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. var eyeOffset: Property

    Permalink
  12. var fillColor: Property

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. var font: Property

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. var horizontalOrigin: Property

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  21. def merge(source: LabelGraphics): Dynamic

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. var outlineColor: Property

    Permalink
  26. var outlineWidth: Property

    Permalink
  27. var pixelOffset: Property

    Permalink
  28. var pixelOffsetScaleByDistance: Property

    Permalink
  29. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  30. var scale: Property

    Permalink
  31. var show: Property

    Permalink
  32. var style: Property

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. var text: Property

    Permalink
  35. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. var translucencyByDistance: Property

    Permalink
  38. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  39. var verticalOrigin: Property

    Permalink
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped