@JsType(isNative=true, namespace="Cesium", name="PolygonGraphics") public class PolygonGraphics extends Object
Modifier and Type | Field and Description |
---|---|
Number |
classificationType
Gets or sets the ClassificationType Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground.
|
boolean |
closeTop
When false, leaves off the top of an extruded polygon open.
|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this polygon will be displayed.
|
Property |
extrudedHeight
A numeric Property specifying the altitude of the polygon's extruded face relative to the ellipsoid surface.
|
Property |
extrudedHeightReference
Gets or sets the Property specifying the extruded HeightReference.
|
Property |
fill
A boolean Property specifying whether the polygon is filled with the provided material.
|
Property |
granularity
A numeric Property specifying the angular distance between each latitude and longitude point.
|
Property |
height
A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface.
|
Property |
heightReference
Gets or sets the Property specifying the HeightReference.
|
Property |
hierarchy
A Property specifying the PolygonHierarchy.
|
MaterialProperty |
material
A Property specifying the material used to fill the polygon.
|
Property |
outline
A boolean Property specifying whether the polygon is outlined.
|
Property |
outlineColor
A Property specifying the Color of the outline.
|
Property |
outlineWidth
A numeric Property specifying the width of the outline.
|
Property |
perPositionHeight
A boolean specifying whether or not the the height of each position is used.
|
Property |
shadows
An enum Property specifying whether the polygon casts or receives shadows from each light source.
|
Property |
show
A boolean Property specifying the visibility of the polygon.
|
Property |
stRotation
A numeric property specifying the rotation of the polygon texture counter-clockwise from north.
|
ConstantProperty<Integer> |
zIndex
A property specifying the zIndex used for ordering ground geometry.
|
Constructor and Description |
---|
PolygonGraphics(PolygonGraphicsOptions options)
Describes a polygon defined by an hierarchy of linear rings which make up the outer shape and any nested holes.
|
Modifier and Type | Method and Description |
---|---|
PolygonGraphics |
clone(PolygonGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(PolygonGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Number classificationType
ClassificationType.TERRAIN()
.@JsProperty public Property hierarchy
@JsProperty public Property height
@JsProperty public Property heightReference
HeightReference.NONE()
@JsProperty public Property extrudedHeight
@JsProperty public Property extrudedHeightReference
HeightReference.NONE()
@JsProperty public Property show
@JsProperty public Property fill
@JsProperty public MaterialProperty material
Color.WHITE()
@JsProperty public Property outline
@JsProperty public Property outlineColor
Color.BLACK()
@JsProperty public Property outlineWidth
@JsProperty public Property stRotation
@JsProperty public Property granularity
Math.RADIANS_PER_DEGREE()
@JsProperty public Property perPositionHeight
@JsProperty public boolean closeTop
@JsProperty public Property shadows
ShadowMode.DISABLED()
@JsProperty public Property distanceDisplayCondition
@JsProperty public ConstantProperty<Integer> zIndex
@JsConstructor public PolygonGraphics(PolygonGraphicsOptions options)
options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
@JsMethod public PolygonGraphics clone(@JsOptional PolygonGraphics result)
result
- The object onto which to store the result.@JsMethod public void merge(PolygonGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.