@JsType(isNative=true,
namespace="<global>",
name="Object")
public class PolylineGeometryOptions
extends Object
PolylineGeometry| 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.
|
VertexFormat |
vertexFormat
The vertex attributes to be computed.
|
double |
width
The width in pixels.
|
| Constructor and Description |
|---|
PolylineGeometryOptions() |
@JsProperty public Cartesian3[] positions
@JsProperty public double width
@JsProperty public Color[] colors
@JsProperty public boolean colorsPerVertex
@JsProperty public ArcType arcType
ArcType.GEODESIC()@Deprecated @JsProperty public boolean followSurface
@JsProperty public double granularity
Math.RADIANS_PER_DEGREE()@JsProperty public VertexFormat vertexFormat
VertexFormat.DEFAULT()@JsProperty public Ellipsoid ellipsoid
Ellipsoid.WGS84()Copyright © 2019. All rights reserved.