@JsType(isNative=true, namespace="Cesium", name="PolylineGraphics") public class PolylineGraphics extends Object
Modifier and Type | Field and Description |
---|---|
ArcType |
arcType
The type of line the polyline segments must follow.
|
Property |
clampToGround
Gets or sets the boolean Property specifying whether the polyline should be clamped to the ground.
|
Property |
classificationType
Gets or sets the ClassificationType Property specifying whether this polyline will classify terrain, 3D Tiles, or both when on the ground.
|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this polyline will be displayed.
|
Property |
followSurface
Deprecated.
Removed in 1.57
|
Property |
granularity
A numeric Property specifying the angular distance between each latitude and longitude if followSurface is true.
|
MaterialProperty |
material
A Property specifying the material used to draw the polyline.
|
Property |
positions
A Property specifying the array of Cartesian3 positions that define the line strip.
|
Property |
shadows
An enum Property specifying whether the polyline casts or receives shadows from each light source.
|
Property |
show
A boolean Property specifying the visibility of the polyline.
|
Property |
width
A numeric Property specifying the width in pixels.
|
Constructor and Description |
---|
PolylineGraphics()
Describes a polyline defined as a line strip.
|
PolylineGraphics(PolylineGraphicsOptions options)
Describes a polyline defined as a line strip.
|
Modifier and Type | Method and Description |
---|---|
PolylineGraphics |
clone(PolylineGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(PolylineGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property clampToGround
@JsProperty public Property classificationType
ClassificationType.BOTH()
@JsProperty public Property positions
@JsProperty public ArcType arcType
ArcType.GEODESIC()
@Deprecated @JsProperty public Property followSurface
@JsProperty public Property width
@JsProperty public Property show
@JsProperty public MaterialProperty material
Color.WHITE()
@JsProperty public Property granularity
Math.RADIANS_PER_DEGREE()
@JsProperty public Property shadows
ShadowMode.DISABLED()
@JsProperty public Property distanceDisplayCondition
@JsConstructor public PolylineGraphics()
@JsConstructor public PolylineGraphics(PolylineGraphicsOptions options)
options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
public PolylineGraphics clone(PolylineGraphics result)
result
- The object onto which to store the result.public void merge(PolylineGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.