Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HumbleUI/Skija
/ makeColor
Method
makeColor
shared/java/Shader.java:363–366 ·
view source on GitHub ↗
(int color)
Source
from the content-addressed store, hash-verified
361
}
362
363
public
static
Shader makeColor(
int
color) {
364
Stats.onNativeCall();
365
return
new
Shader(_nMakeColor(color));
366
}
367
368
public
static
Shader makeColor(Color4f color, ColorSpace space) {
369
try {
Callers
2
execute
Method · 0.95
drawShaders
Method · 0.95
Calls
9
onNativeCall
Method · 0.95
_nMakeColor
Method · 0.95
_nMakeColorCS
Method · 0.95
getPtr
Method · 0.95
reachabilityFence
Method · 0.95
getR
Method · 0.45
getG
Method · 0.45
getB
Method · 0.45
getA
Method · 0.45
Tested by
1
execute
Method · 0.76