Fill

Class for Fill

class Fill(id: Long, annotationManager: AnnotationManager<Polygon, Fill, *, *, *, *>, jsonObject: JsonObject, geometry: Polygon) : Annotation<Polygon>

Constructors

Fill
Link copied to clipboard
fun Fill(id: Long, annotationManager: AnnotationManager<Polygon, Fill, *, *, *, *>, jsonObject: JsonObject, geometry: Polygon)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

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

Get the offset geometry for the touch point

open override fun getOffsetGeometry(projectionDelegate: MapProjectionDelegate, moveDistancesObject: MoveDistancesObject, touchAreaShiftX: Int, touchAreaShiftY: Int): Polygon?
getType
Link copied to clipboard

Get the type of this annotation

open override fun getType(): AnnotationType
hashCode
Link copied to clipboard
open override fun hashCode(): Int
setData
Link copied to clipboard
open override fun setData(jsonElement: JsonElement?)
setUsedDataDrivenProperties
Link copied to clipboard

Set the used data-driven properties

open override fun setUsedDataDrivenProperties()
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotationManager
Link copied to clipboard

The annotation manger that manipulate this annotation

val annotationManager: AnnotationManager<Polygon, Fill, *, *, *, *>
fillColorInt
Link copied to clipboard

The fillColor property in Int

<p> The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used. </p>

var fillColorInt: Int?
fillColorString
Link copied to clipboard

The fillColor property in String

<p> The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used. </p>

var fillColorString: String?
fillOpacity
Link copied to clipboard

The fillOpacity property

<p> The opacity of the entire fill layer. In contrast to the {@link PropertyFactory#fillColor}, this value will also affect the 1px stroke around the fill, if the stroke is used. </p>

var fillOpacity: Double?
fillOutlineColorInt
Link copied to clipboard

The fillOutlineColor property in Int

<p> The outline color of the fill. Matches the value of {@link PropertyFactory#fillColor} if unspecified. </p>

var fillOutlineColorInt: Int?
fillOutlineColorString
Link copied to clipboard

The fillOutlineColor property in String

<p> The outline color of the fill. Matches the value of {@link PropertyFactory#fillColor} if unspecified. </p>

var fillOutlineColorString: String?
fillPattern
Link copied to clipboard

The fillPattern property

<p> Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels. </p>

var fillPattern: String?
fillSortKey
Link copied to clipboard

The fillSortKey property

<p> Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key. </p>

var fillSortKey: Double?
geometry
Link copied to clipboard
override var geometry: Polygon
id
Link copied to clipboard
override val id: Long
isDraggable
Link copied to clipboard
override var isDraggable: Boolean
jsonObject
Link copied to clipboard
override val jsonObject: JsonObject
points
Link copied to clipboard

A list of lists of Point for the fill, which represents the locations of the fill on the map

<p> To update the fill on the map use {@link FillManager#update(Annotation)}. <p>

var points: List<List<Point>>