Set paint's mode to STROKE if true, or FILL if false. @param value stroke or fill @return this
(boolean value)
| 157 | * @return this |
| 158 | */ |
| 159 | @NotNull @Contract("_ -> this") |
| 160 | public Paint setStroke(boolean value) { |
| 161 | return setMode(value ? PaintMode.STROKE : PaintMode.FILL); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Retrieves alpha and RGB, unpremultiplied, packed into 32 bits. |