ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var arcType: ArcType?

The type of line the polyline segments must follow. Default value - ArcType.GEODESIC

Link copied to clipboard
abstract var colors: ReadonlyArray<Color>?

An Array of Color defining the per vertex or per segment colors.

Link copied to clipboard
abstract var colorsPerVertex: Boolean?

A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices. Default value - false

Link copied to clipboard
abstract var ellipsoid: Ellipsoid?

The ellipsoid to be used as a reference. Default value - Ellipsoid.default

Link copied to clipboard
abstract var granularity: Double?

The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer. Default value - Math.RADIANS_PER_DEGREE

Link copied to clipboard

An array of Cartesian3 defining the positions in the polyline as a line strip.

Link copied to clipboard
abstract var vertexFormat: VertexFormat?

The vertex attributes to be computed. Default value - VertexFormat.DEFAULT

Link copied to clipboard
abstract var width: Double?

The width in pixels. Default value - 1.0