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

Method makeTwoPointConicalGradient

shared/java/Shader.java:105–107  ·  view source on GitHub ↗
(Point p0, float r0, Point p1, float r1, int[] colors)

Source from the content-addressed store, hash-verified

103 // Two-point Conical
104
105 public static Shader makeTwoPointConicalGradient(Point p0, float r0, Point p1, float r1, int[] colors) {
106 return makeTwoPointConicalGradient(p0._x, p0._y, r0, p1._x, p1._y, r1, colors);
107 }
108
109 public static Shader makeTwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, int[] colors) {
110 return makeTwoPointConicalGradient(x0, y0, r0, x1, y1, r1, colors, null, GradientStyle.DEFAULT);

Callers 1

drawGradientsMethod · 0.95

Calls 7

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

Tested by

no test coverage detected