@JsType(isNative=true, namespace="Cesium", name="RectangleGraphics") public class RectangleGraphics 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.
|
Property |
closeBottom
Gets or sets the boolean Property specifying whether the rectangle has a bottom cover when extruded.
|
Property |
closeTop
Gets or sets the boolean Property specifying whether the rectangle has a top cover when extruded.
|
Property |
coordinates
Gets or sets the Property specifying the Rectangle.
|
Property |
distanceDisplayCondition
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this rectangle will be displayed.
|
Property |
extrudedHeight
Gets or sets the numeric Property specifying the altitude of the rectangle extrusion.
|
Property |
extrudedHeightReference
Gets or sets the Property specifying the extruded HeightReference.
|
Property |
fill
Gets or sets the boolean Property specifying whether the rectangle is filled with the provided material.
|
Property |
granularity
Gets or sets the numeric Property specifying the angular distance between points on the rectangle.
|
Property |
height
Gets or sets the numeric Property specifying the altitude of the rectangle.
|
Property |
heightReference
Gets or sets the Property specifying the HeightReference.
|
MaterialProperty |
material
Gets or sets the Property specifying the material used to fill the rectangle.
|
Property |
outline
Gets or sets the Property specifying whether the rectangle is outlined.
|
Property |
outlineColor
Gets or sets the Property specifying the Color of the outline.
|
Property |
outlineWidth
Gets or sets the numeric Property specifying the width of the outline.
|
Property |
rotation
Gets or sets the numeric property specifying the rotation of the rectangle clockwise from north.
|
int |
shadows
Get or sets the enum Property specifying whether the rectangle casts or receives shadows from each light source.
|
Property |
show
Gets or sets the boolean Property specifying the visibility of the rectangle.
|
Property |
stRotation
Gets or sets the numeric property specifying the rotation of the rectangle texture counter-clockwise from north.
|
ConstantProperty<Integer> |
zIndex
A Property specifying the zIndex used for ordering ground geometry.
|
Constructor and Description |
---|
RectangleGraphics()
Describes graphics for a
Rectangle . |
RectangleGraphics(RectangleGraphicsOptions options)
Describes graphics for a
Rectangle . |
Modifier and Type | Method and Description |
---|---|
RectangleGraphics |
clone()
Duplicates this instance.
|
RectangleGraphics |
clone(RectangleGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(RectangleGraphics 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 closeBottom
@JsProperty public Property closeTop
@JsProperty public Property coordinates
@JsProperty public Property distanceDisplayCondition
@JsProperty public Property heightReference
HeightReference.NONE()
@JsProperty public Property extrudedHeight
@JsProperty public Property extrudedHeightReference
HeightReference.NONE()
@JsProperty public Property fill
@JsProperty public Property granularity
Math.RADIANS_PER_DEGREE()
@JsProperty public Property height
@JsProperty public MaterialProperty material
Color.WHITE()
@JsProperty public Property outline
@JsProperty public Property outlineColor
@JsProperty public Property outlineWidth
@JsProperty public Property rotation
@JsProperty public int shadows
ShadowMode.DISABLED()
@JsProperty public Property show
@JsProperty public Property stRotation
@JsProperty public ConstantProperty<Integer> zIndex
@JsConstructor public RectangleGraphics()
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.@JsConstructor public RectangleGraphics(RectangleGraphicsOptions options)
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.options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
@JsMethod public RectangleGraphics clone()
@JsMethod public RectangleGraphics clone(@JsOptional RectangleGraphics result)
result
- The object onto which to store the result.@JsMethod public void merge(RectangleGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.