ContourLayerPaint

data class ContourLayerPaint(var opacity: Float = 1.0f, var sample: SamplePaint, var contour: ContourPaint) : LayerPaint

Paint for com.xweather.mapsgl.layers.spec.ContourLayerDescriptor: sampled field plus isoline style.

Constructors

Link copied to clipboard
constructor(opacity: Float = 1.0f, sample: SamplePaint, contour: ContourPaint)

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

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.