MapViewPathCollection

Map view path collection.

Constructors

Link copied to clipboard
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard
val size: Int

The number of paths in this collection.

Functions

Link copied to clipboard
external fun add(path: Path, colorBorder: Rgba? = null, colorInner: Rgba? = null, szBorder: Double = -1.0, szInner: Double = -1.0)

Adds a path in the collection.

Link copied to clipboard
external fun clear()

Remove all paths from collection

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getBorderColorAt(index: Int): Rgba?

Gets the border color for the path specified by index.

Link copied to clipboard
external fun getBorderSizeAt(index: Int): Double

Get the border size for the path specified by index.

Link copied to clipboard
external fun getFillColorAt(index: Int): Rgba?

Gets the inner color for the path specified by index.

Link copied to clipboard
external fun getInnerSizeAt(index: Int): Double

Get the inner size for the path specified by index.

Link copied to clipboard
external fun getPathAt(index: Int): Path?

Gets the path specified by index.

Link copied to clipboard
external fun getPathByName(value: String): Path?

Gets the path specified by name

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun remove(path: Path)

Removes the path from collection

Link copied to clipboard
external fun removeAt(index: Int)

Removes the path specified by index.