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

Method makeSweepGradient

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

Source from the content-addressed store, hash-verified

145 // Sweep
146
147 public static Shader makeSweepGradient(Point center, int[] colors) {
148 return makeSweepGradient(center._x, center._y, colors);
149 }
150
151 public static Shader makeSweepGradient(float x, float y, int[] colors) {
152 return makeSweepGradient(x, y, 0, 360, colors, null, GradientStyle.DEFAULT);

Callers 1

drawGradientsMethod · 0.95

Calls 7

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

Tested by

no test coverage detected