8package org.skia.jetski;
10import androidx.annotation.Nullable;
11import java.lang.IllegalArgumentException;
15 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
16 super(colors,
pos, tm, localMatrix,
17 (c, p, t, m) -> nMakeRadial(
x,
y, r, c, p, t, m));
21 float[]
pos,
TileMode tm)
throws IllegalArgumentException {
22 this(
x,
y, r, colors,
pos, tm,
null);
26 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
27 super(colors,
pos, tm, localMatrix,
28 (c, p, t, m) -> nMakeRadial(
x,
y, r, c, p, t, m));
32 float[]
pos,
TileMode tm)
throws IllegalArgumentException {
33 this(
x,
y, r, colors,
pos, tm,
null);
36 private static native
long nMakeRadial(
float x,
float y,
float r,
float[] colors,
float[]
pos,
37 int tilemode,
long nativeLocalMatrix);
RadialGradient(float x, float y, float r, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)
RadialGradient(float x, float y, float r, float[] colors, float[] pos, TileMode tm)
RadialGradient(float x, float y, float r, int[] colors, float[] pos, TileMode tm)
RadialGradient(float x, float y, float r, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)