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

Method setColor4f

shared/java/Paint.java:218–221  ·  view source on GitHub ↗

Sets alpha and RGB used when stroking and filling. The color is four floating point values, unpremultiplied. The color values are interpreted as being in sRGB. @param color unpremultiplied RGBA @return this

(@NotNull Color4f color)

Source from the content-addressed store, hash-verified

216 * @return this
217 */
218 @NotNull @Contract("!null -> this; null -> fail")
219 public Paint setColor4f(@NotNull Color4f color) {
220 return setColor4f(color, null);
221 }
222
223 /**
224 * Sets alpha and RGB used when stroking and filling. The color is four floating

Callers 3

setAlphafMethod · 0.95
drawColorsMethod · 0.80

Calls 8

onNativeCallMethod · 0.95
_nSetColor4fMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95
getRMethod · 0.45
getGMethod · 0.45
getBMethod · 0.45
getAMethod · 0.45

Tested by

no test coverage detected