Class

cesium

RectangleGraphics

Related Doc: package cesium

Permalink

class RectangleGraphics extends Object

Describes graphics for a Rectangle The rectangle conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume.

alias RectangleGraphics

- The options object takes the following properties - {Property} [options.coordinates] The Property specifying the Rectangle - {Property} [options.height=0] A numeric Property specifying the altitude of the rectangle relative to the ellipsoid surface. - {Property} [options.extrudedHeight] A numeric Property specifying the altitude of the rectangle's extruded face relative to the ellipsoid surface. - {Property} [options.closeTop=true] A boolean Property specifying whether the rectangle has a top cover when extruded - {Property} [options.closeBottom=true] A boolean Property specifying whether the rectangle has a bottom cover when extruded. - {Property} [options.show=true] A boolean Property specifying the visibility of the rectangle. - {Property} [options.fill=true] A boolean Property specifying whether the rectangle is filled with the provided material. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the rectangle. - {Property} [options.outline=false] A boolean Property specifying whether the rectangle is outlined. - {Property} [options.outlineColor=Color.BLACK] A Property specifying the Color of the outline. - {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline. - {Property} [options.rotation=0.0] A numeric property specifying the rotation of the rectangle clockwise from north. - {Property} [options.stRotation=0.0] A numeric property specifying the rotation of the rectangle texture counter-clockwise from north. - {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between points on the rectangle.

Annotations
@RawJSType() @native() @JSName( "Cesium.RectangleGraphics" )
See also

Entity demo Sandcastle Rectangle Demo

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RectangleGraphics
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RectangleGraphics(options: RectangleGraphicsOptions)

    Permalink
  2. new RectangleGraphics()

    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: RectangleGraphics = ???): RectangleGraphics

    Permalink
  6. def clone(): AnyRef

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

    Permalink
  8. var closeTop: Property

    Permalink
  9. var coordinates: Property

    Permalink
  10. var definitionChanged: Event

    Permalink
  11. var distanceDisplayCondition: Property

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. var extrudedHeight: Property

    Permalink
  15. var fill: Property

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

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

    Permalink
  19. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. var height: Property

    Permalink
  22. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  24. var material: MaterialProperty

    Permalink
  25. def merge(source: RectangleGraphics): Dynamic

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. var outline: Property

    Permalink
  30. var outlineColor: Property

    Permalink
  31. var outlineWidth: Property

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

    Permalink
    Definition Classes
    Object
  33. var rotation: Property

    Permalink
  34. var show: Property

    Permalink
  35. var stRotation: Property

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

    Permalink
    Definition Classes
    AnyRef
  37. def toLocaleString(): String

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  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