ContourPaint

class ContourPaint(colorScale: ColorScaleOptions = ColorScaleOptions(), var multiband: Boolean = false, var meld: Boolean = true, var eventEmitter: LayerEventEmitter? = null, var interval: StyleValue<Double> = StyleValue.Constant(2.0), var majorInterval: StyleValue<Double> = StyleValue.Constant(10.0), var width: StyleValue<Double> = StyleValue.Constant(1.0), var majorWidth: StyleValue<Double> = StyleValue.Constant(3.0), var scale: StyleValue<Double> = StyleValue.Constant(1.0), var offset: StyleValue<Double> = StyleValue.Constant(0.0)) : Paint

Isoline (contour) styling on top of SamplePaint: interval, major interval, line widths, and value offset / scale. Used by ContourLayerPaint.

Constructors

Link copied to clipboard
constructor(colorScale: ColorScaleOptions = ColorScaleOptions(), multiband: Boolean = false, meld: Boolean = true, eventEmitter: LayerEventEmitter? = null, interval: StyleValue<Double> = StyleValue.Constant(2.0), majorInterval: StyleValue<Double> = StyleValue.Constant(10.0), width: StyleValue<Double> = StyleValue.Constant(1.0), majorWidth: StyleValue<Double> = StyleValue.Constant(3.0), scale: StyleValue<Double> = StyleValue.Constant(1.0), offset: StyleValue<Double> = StyleValue.Constant(0.0))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Added to the scaled sample value before isoline spacing (Apple/JS contour.offset). Combined as sampled * scale + offset.

Link copied to clipboard
Link copied to clipboard