BufferPolylineMaterial

open external class BufferPolylineMaterial(options: BufferPolylineMaterialOptions? = definedExternally)(source)

Material description for a BufferPolyline.

BufferPolylineMaterial objects are {@link Packable|packable}, stored when calling BufferPolyline.setMaterial. Subsequent changes to the material will not affect the polyline until setMaterial() is called again.

See also

Constructors

Link copied to clipboard
constructor(options: BufferPolylineMaterialOptions? = definedExternally)

Properties

Link copied to clipboard

Color of fill.

Link copied to clipboard

Color of outline.

Link copied to clipboard

Width of outline, 0-255px.

Link copied to clipboard

Width of polyline, 0–255px.

Functions

Link copied to clipboard
fun toJSON(): JsAny

Returns a JSON-serializable object representing the material. This encoding is not memory-efficient, and should generally be used for debugging and testing.