CompositeSymbol

Defines a set of symbols that make up a single symbol. A composite symbol contains a collection of symbols that can be used to compose a more complex symbol.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(symbols: Iterable<Symbol> = mutableListOf())

Creates a composite symbol using a collection of symbols.

Properties

Link copied to clipboard

The collection of symbols contained in the composite symbol.

Functions

Link copied to clipboard
open override fun clone(): CompositeSymbol

Clones the CompositeSymbol.

Inherited functions

Link copied to clipboard
suspend fun createSwatch(screenScale: Float, width: Float? = null, height: Float? = null, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol. This method will scale the symbol up or down in order to fit it in to the desired width and height of the swatch.

suspend fun createSwatch(screenScale: Float, width: Float, height: Float, geometry: Geometry, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.