MCPcopy Create free account
hub / github.com/HumbleUI/Skija / getColor4f

Method getColor4f

shared/java/Paint.java:186–194  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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,

Calls 3

onNativeCallMethod · 0.95
_nGetColor4fMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected