Fill Paint
class FillPaint(color: StyleValue<Color> = StyleValue.Constant(Color.Red), var pattern: StyleValue<String>? = null, var opacity: StyleValue<Double> = StyleValue.Constant(1.0), var eventEmitter: LayerEventEmitter? = null) : Paint
Constructors
Link copied to clipboard
constructor(color: StyleValue<Color> = StyleValue.Constant(Color.Red), pattern: StyleValue<String>? = null, opacity: StyleValue<Double> = StyleValue.Constant(1.0), eventEmitter: LayerEventEmitter? = null)
Properties
Functions
Link copied to clipboard
fun copy(color: StyleValue<Color> = this.color, pattern: StyleValue<String>? = this.pattern, opacity: StyleValue<Double> = this.opacity, eventEmitter: LayerEventEmitter? = this.eventEmitter): FillPaint
Custom copy function to replicate data class behavior. Use this to create a new instance with specific property changes.