Class

cesium

PolygonGraphics

Related Doc: package cesium

Permalink

class PolygonGraphics extends Object

Describes a polygon defined by an hierarchy of linear rings which make up the outer shape and any nested holes. The polygon 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 PolygonGraphics

- The options object takes the following properties - {Property} [options.hierarchy] A Property specifying the PolygonHierarchy - {Property} [options.height=0] A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface. - {Property} [options.extrudedHeight] A numeric Property specifying the altitude of the polygon's extruded face relative to the ellipsoid surface. - {Property} [options.show=true] A boolean Property specifying the visibility of the polygon. - {Property} [options.fill=true] A boolean Property specifying whether the polygon is filled with the provided material. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the polygon. - {Property} [options.outline=false] A boolean Property specifying whether the polygon 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.stRotation=0.0] A numeric property specifying the rotation of the polygon texture counter-clockwise from north. - {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between each latitude and longitude point. - {Property} [options.perPositionHeight=false] A boolean specifying whether or not the the height of each position is used. - {Boolean} [options.closeTop=true] When false, leaves off the top of an extruded polygon open. - {Boolean} [options.closeBottom=true] When false, leaves off the bottom of an extruded polygon open.

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

Entity demo Sandcastle Polygon Demo

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

Instance Constructors

  1. new PolygonGraphics(options: PolygonGraphicsOptions)

    Permalink
  2. new PolygonGraphics()

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

    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 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 extrudedHeight: Property

    Permalink
  14. var fill: Property

    Permalink
  15. def finalize(): Unit

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

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

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

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

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

    Permalink
  21. var hierarchy: 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: PolygonGraphics): 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. var perPositionHeight: Property

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

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