PolylineGraphics

external class PolylineGraphics(source)

Describes a polyline. The first two positions define a line segment, and each additional position defines a line segment from the previous position. The segments can be linear connected points, great arcs, or clamped to terrain.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Gets or sets the ArcType Property specifying whether the line segments should be great arcs, rhumb lines or linearly connected.

Link copied to clipboard

Gets or sets the boolean Property specifying whether the polyline should be clamped to the ground.

Link copied to clipboard

Gets or sets the ClassificationType Property specifying whether this polyline will classify terrain, 3D Tiles, or both when on the ground.

Link copied to clipboard

Gets the event that is raised whenever a property or sub-property is changed or modified.

Link copied to clipboard

Gets or sets the Property specifying the material used to draw the polyline when it fails the depth test.

Link copied to clipboard

Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this polyline will be displayed.

Link copied to clipboard

Gets or sets the numeric Property specifying the angular distance between each latitude and longitude if arcType is not ArcType.NONE and clampToGround is false.

Link copied to clipboard

Gets or sets the Property specifying the material used to draw the polyline.

Link copied to clipboard

Gets or sets the Property specifying the array of Cartesian3 positions that define the line strip.

Link copied to clipboard

Get or sets the enum Property specifying whether the polyline casts or receives shadows from light sources.

Link copied to clipboard

Gets or sets the boolean Property specifying the visibility of the polyline.

Link copied to clipboard

Gets or sets the numeric Property specifying the width in pixels.

Link copied to clipboard

Gets or sets the zIndex Property specifying the ordering of the polyline. Only has an effect if clampToGround is true and polylines on terrain is supported.

Functions

Link copied to clipboard
fun clone(result: PolylineGraphics? = definedExternally): PolylineGraphics

Duplicates this instance.

Link copied to clipboard
fun merge(source: PolylineGraphics)

Assigns each unassigned property on this object to the value of the same property on the provided source object.