CircleLayerPaint

data class CircleLayerPaint(var opacity: Float = 1.0f, var fill: FillPaint = FillPaint(), var stroke: StrokePaint = StrokePaint(), var circle: CirclePaint) : VectorLayerPaint

Paint for com.xweather.mapsgl.layers.spec.CircleLayerDescriptor: disc fill, inset stroke, and radius.

Constructors

Link copied to clipboard
constructor(opacity: Float = 1.0f, fill: FillPaint = FillPaint(), stroke: StrokePaint = StrokePaint(), circle: CirclePaint)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var opacity: Float
Link copied to clipboard

Functions

Link copied to clipboard
open override fun asStyleJSON(id: String, source: String, sourceLayer: String?): StyleJSON
Link copied to clipboard

Timeline blend factor for sampling / draw. Returns 0 when sampleMeldEnabled is false (JS: sampleMeld() ? progress : 0).

Link copied to clipboard

JS paint.sample.meld — whether this layer's SamplePaint blends across timeline intervals. Defaults to true when the paint has no sample block.