Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
execute
Method · 0.95
makeLerp
Method · 0.95
luminocity
Method · 0.95
setColor4f
Method · 0.45
convert
Method · 0.45
makeColor
Method · 0.45
Calls
no outgoing calls
Tested by
1
execute
Method · 0.76