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

Method withB

shared/java/Color.java:58–61  ·  view source on GitHub ↗
(int color, int b)

Source from the content-addressed store, hash-verified

56 }
57
58 public static int withB(int color, int b) {
59 assert 0 <= b && b <= 255 : "Blue is out of 0..255 range: " + b;
60 return (b & 0xFF) | (color & 0xFFFFFF00);
61 }
62}

Callers 1

executeMethod · 0.95

Calls

no outgoing calls

Tested by 1

executeMethod · 0.76