FillSymbol

sealed class FillSymbol : Symbol

A fill symbol defines the appearance of features and graphics that are based on polygon geometries such as countries, provinces, or habitats. FillSymbol is the base class for different symbols, such as SimpleFillSymbol and PictureFillSymbol. A FillSymbol can also be used in combination with a LineSymbol to add an outline to the fill symbol.

You can specify the symbology of a single graphic using Graphic.symbol. Alternatively, you can create a Renderer that contains a collection of symbols and rules. Each rule determines which symbol is applied to a graphic or feature depending on its attribute values. To symbolize graphics, apply a renderer to the GraphicsOverlay, and to symbolize features, apply the renderer to FeatureLayer.

Since

200.1.0

Inheritors

Properties

Link copied to clipboard

The interior color of the fill symbol.

Link copied to clipboard

A line, with a specific color and width, to be applied to the fill symbol.

Functions

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

Clones the FillSymbol.

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

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 override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.