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. var backgroundColor: Property

    Permalink
  6. var backgroundPadding: Property

    Permalink
  7. def clone(result: LabelGraphics = ???): LabelGraphics

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. var distanceDisplayCondition: Property

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

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

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

    Permalink
  14. var fillColor: Property

    Permalink
  15. def finalize(): Unit

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

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

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

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

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

    Permalink
  21. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. var outlineColor: Property

    Permalink
  28. var outlineWidth: Property

    Permalink
  29. var pixelOffset: Property

    Permalink
  30. var pixelOffsetScaleByDistance: Property

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

    Permalink
    Definition Classes
    Object
  32. var scale: Property

    Permalink
  33. var show: Property

    Permalink
  34. var showBackground: Property

    Permalink
  35. var style: Property

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

    Permalink
    Definition Classes
    AnyRef
  37. var text: Property

    Permalink
  38. def toLocaleString(): String

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

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

    Permalink
  41. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  42. var verticalOrigin: Property

    Permalink
  43. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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