MCPcopy Create free account
hub / github.com/HumbleUI/Skija / makeSweepGradient

Method makeSweepGradient

shared/java/Shader.java:246–248  ·  view source on GitHub ↗
(Point center, int[] colors)

Source from the content-addressed store, hash-verified

244 // Sweep
245
246 public static Shader makeSweepGradient(Point center, int[] colors) {
247 return makeSweepGradient(center._x, center._y, colors);
248 }
249
250 public static Shader makeSweepGradient(float x, float y, int[] colors) {
251 return makeSweepGradient(x, y, 0, 360, colors, null, GradientStyle.DEFAULT);

Callers 1

drawGradientsMethod · 0.95

Calls 8

onNativeCallMethod · 0.95
_nMakeSweepGradientMethod · 0.95
_nMakeSweepGradientCSMethod · 0.95
flattenArrayMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95
_getMatrixArrayMethod · 0.80
_getFlagsMethod · 0.45

Tested by

no test coverage detected