Kyant
10/28/2025, 7:50 AMBrush a sealed class? I can't customize it... Any way to hack the compose function to support other color spaces everywhere?
internal fun NativePaint.setNativeColor(value: Color) {
this.color = value.toArgb()
}romainguy
10/28/2025, 3:21 PMKyant
10/29/2025, 12:47 AMromainguy
10/29/2025, 12:50 AMKyant
10/29/2025, 12:53 AMromainguy
10/29/2025, 12:54 AMromainguy
10/29/2025, 12:54 AMKyant
10/29/2025, 12:58 AMdrawRect, drawing on the native canvas requires the native paint. If create paint in the function, the performance will be worse. Compose has reusable paints.romainguy
10/29/2025, 1:18 AM