LineSymbol

sealed class LineSymbol : Symbol

A base class for line symbols used to symbolize graphics and features (collectively referred to as geoelements) that have polyline geometry. Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Line symbols are used to display graphics and features that are based on polyline geometries such as boundaries, transportation routes and utility pipelines. Line symbols can also be used as an outline for fill symbols (FillSymbol.outline) and marker symbols (SimpleMarkerSymbol.outline).

Since

200.1.0

Inheritors

Properties

Link copied to clipboard

True if the line symbol is drawn with anti-aliasing, false otherwise.

Link copied to clipboard

The color of the line symbol. When getting the color (or tint color) from a symbol, the consensus value (for all layers) is reported. If there is no consensus (one or more layers have different colors), a null value is reported for the color. Likewise, setting a value for color on a symbol will apply that color to all layers the symbol contains.

Link copied to clipboard

The thickness of the line symbol outline in device-independent pixels (DIPs). The default value is 1.0.

Functions

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

Clones the LineSymbol.

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.