copy
fun copy(color: StyleValue<Color> = this.color, pattern: StyleValue<String>? = this.pattern, opacity: StyleValue<Double> = this.opacity, eventEmitter: LayerEventEmitter? = this.eventEmitter, sortKey: StyleValue<String>? = this.sortKey, sortDirection: SortDirection = this.sortDirection): FillPaint
Custom copy function to replicate data class behavior. Use this to create a new instance with specific property changes.