@JsType(isNative=true,
namespace="<global>",
name="Object")
public class SimplePolylineGeometryOptions
extends Object
| Modifier and Type | Field and Description |
|---|---|
ArcType |
arcType
The type of line the polyline segments must follow.
|
Color[] |
colors
An Array of Color defining the per vertex or per segment colors.
|
boolean |
colorsPerVertex
A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices.
|
Ellipsoid |
ellipsoid
The ellipsoid to be used as a reference.
|
boolean |
followSurface
Deprecated.
Removed in 1.57
|
double |
granularity
The distance, in radians, between each latitude and longitude if options.followSurface=true.
|
Cartesian3[] |
positions
An array of Cartesian3 defining the positions in the polyline as a line strip.
|
| Constructor and Description |
|---|
SimplePolylineGeometryOptions()
Options for
SimplePolylineGeometry |
@JsProperty public Cartesian3[] positions
@JsProperty public Color[] colors
@JsProperty public boolean colorsPerVertex
@JsProperty public ArcType arcType
ArcType.GEODESIC()@JsProperty public boolean followSurface
@JsProperty public double granularity
Math.RADIANS_PER_DEGREE()@JsProperty public Ellipsoid ellipsoid
Ellipsoid.WGS84()@JsConstructor public SimplePolylineGeometryOptions()
SimplePolylineGeometryCopyright © 2019. All rights reserved.