MCPcopy 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

executeMethod · 0.95
drawShadersMethod · 0.95

Calls 9

onNativeCallMethod · 0.95
_nMakeColorMethod · 0.95
_nMakeColorCSMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95
getRMethod · 0.45
getGMethod · 0.45
getBMethod · 0.45
getAMethod · 0.45

Tested by 1

executeMethod · 0.76