8package org.skia.jetski;
10import androidx.annotation.Nullable;
11import java.lang.IllegalArgumentException;
16 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
17 super(colors,
pos, tm, localMatrix,
18 (c, p, t, m) -> nMakeSweep(
x,
y, startAngle, endAngle, c, p, t, m));
22 int[] colors,
float[]
pos,
TileMode tm)
throws IllegalArgumentException {
23 this(
x,
y, startAngle, endAngle, colors,
pos, tm,
null);
27 float[]
pos)
throws IllegalArgumentException {
33 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
34 super(colors,
pos, tm, localMatrix,
35 (c, p, t, m) -> nMakeSweep(
x,
y, startAngle, endAngle, c, p, t, m));
39 float[] colors,
float[]
pos,
TileMode tm)
throws IllegalArgumentException {
40 this(
x,
y, startAngle, endAngle, colors,
pos, tm,
null);
44 float[]
pos)
throws IllegalArgumentException {
48 private static native
long nMakeSweep(
float x,
float y,
float sa,
float ea,
49 float[] colors,
float[]
pos,
50 int tilemode,
long nativeLocalMatrix);
SweepGradient(float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)
SweepGradient(float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm)
SweepGradient(float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)
SweepGradient(float x, float y, int[] colors, float[] pos)
SweepGradient(float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm)
SweepGradient(float x, float y, float[] colors, float[] pos)