Retrieves alpha and RGB, unpremultiplied, as four floating point values. RGB are extended sRGB values (sRGB gamut, and encoded with the sRGB transfer function). @return unpremultiplied RGBA
()
| 184 | * @return unpremultiplied RGBA |
| 185 | */ |
| 186 | @NotNull |
| 187 | public Color4f getColor4f() { |
| 188 | try { |
| 189 | Stats.onNativeCall(); |
| 190 | return _nGetColor4f(_ptr); |
| 191 | } finally { |
| 192 | ReferenceUtil.reachabilityFence(this); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * Sets alpha and RGB used when stroking and filling. The color is a 32-bit value, |
no test coverage detected