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

Method getAlphaf

shared/java/Paint.java:250–252  ·  view source on GitHub ↗

Retrieves alpha from the color used when stroking and filling. @return alpha ranging from 0f, fully transparent, to 1f, fully opaque

()

Source from the content-addressed store, hash-verified

248 * @return alpha ranging from 0f, fully transparent, to 1f, fully opaque
249 */
250 public float getAlphaf() {
251 return getColor4f().getA();
252 }
253
254 /**
255 * Retrieves alpha from the color used when stroking and filling.

Calls 2

getColor4fMethod · 0.95
getAMethod · 0.45

Tested by

no test coverage detected