Sets alpha and RGB used when stroking and filling. The color is a 32-bit value, unpremultiplied, packing 8-bit components for alpha, red, blue, and green. @param color unpremultiplied ARGB @see https://fiddle.skia.org/c/@Paint_setColor
(int color)
| 202 | * @see <a href="https://fiddle.skia.org/c/@Paint_setColor">https://fiddle.skia.org/c/@Paint_setColor</a> |
| 203 | */ |
| 204 | @NotNull @Contract("_ -> this") |
| 205 | public Paint setColor(int color) { |
| 206 | Stats.onNativeCall(); |
| 207 | _nSetColor(_ptr, color); |
| 208 | return this; |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * Sets alpha and RGB used when stroking and filling. The color is four floating |