@JsType(isNative=true, namespace="Cesium", name="Polyline") public class Polyline extends Object
Modifier and Type | Field and Description |
---|---|
DistanceDisplayCondition |
distanceDisplayCondition
The condition specifying at what distance from the camera that this polyline will be displayed.
|
Object |
id
The user-defined object to be returned when this polyline is picked.
|
boolean |
loop
Whether a line segment will be added between the last and first line positions to make this line a loop.
|
Material |
material
The material.
|
Cartesian3[] |
positions
The positions.
|
boolean |
show
if this polyline will be shown; otherwise, false.
|
double |
width
The width of the polyline in pixels.
|
Constructor and Description |
---|
Polyline()
A renderable polyline.
|
Polyline(PolylineOptions options)
A renderable polyline.
|
@JsProperty public boolean show
@JsProperty public double width
@JsProperty public boolean loop
@JsProperty public Material material
Material.ColorType()
@JsProperty public Cartesian3[] positions
@JsProperty public Object id
@JsProperty public DistanceDisplayCondition distanceDisplayCondition
@JsConstructor public Polyline()
PolylineCollection.add(org.cesiumjs.cs.scene.options.PolylineOptions)
@JsConstructor public Polyline(PolylineOptions options)
PolylineCollection.add(org.cesiumjs.cs.scene.options.PolylineOptions)
options
- PolylineOptions
Copyright © 2019. All rights reserved.