@JsType(isNative=true, namespace="<global>", name="Object") public class PolygonGraphicsOptions extends Object
Modifier and Type | Field and Description |
---|---|
Property |
classificationType
Gets or sets the
ClassificationType.TERRAIN() Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground. |
boolean |
closeBottom
When false, leaves off the bottom of an extruded polygon open.
|
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
A Property specifying what the extrudedHeight is relative to.
|
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
A Property specifying what the height is relative to.
|
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 |
---|
PolygonGraphicsOptions()
Options for
PolygonGraphics |
@JsProperty public Property hierarchy
@JsProperty public Property height
@JsProperty public Property heightReference
@JsProperty public Property extrudedHeight
@JsProperty public Property extrudedHeightReference
@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 boolean closeBottom
@JsProperty public Property shadows
ShadowMode.DISABLED()
@JsProperty public Property distanceDisplayCondition
@JsProperty public ConstantProperty<Integer> zIndex
@JsProperty public Property classificationType
ClassificationType.TERRAIN()
Property specifying whether this polygon will classify terrain, 3D Tiles, or both when on the ground.@JsConstructor public PolygonGraphicsOptions()
PolygonGraphics
Copyright © 2019. All rights reserved.