BufferPointMaterial

open external class BufferPointMaterial(options: BufferPointMaterialOptions? = definedExternally)(source)

Material description for a BufferPoint.

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

See also

Constructors

Link copied to clipboard
constructor(options: BufferPointMaterialOptions? = 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
var size: JsAny

Size of point, 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.