MCPcopy Create free account
hub / github.com/JetBrains/skija / getB

Method getB

shared/java/Color.java:39–41  ·  view source on GitHub ↗
(int color)

Source from the content-addressed store, hash-verified

37 }
38
39 public static int getB(int color) {
40 return color & 0xFF;
41 }
42
43 public static int withA(int color, int a) {
44 assert 0 <= a && a <= 255 : "Alpha is out of 0..255 range: " + a;

Callers 6

executeMethod · 0.95
makeLerpMethod · 0.95
luminocityMethod · 0.95
setColor4fMethod · 0.45
convertMethod · 0.45
makeColorMethod · 0.45

Calls

no outgoing calls

Tested by 1

executeMethod · 0.76