8package org.skia.jetski;
10import androidx.annotation.Nullable;
11import java.lang.IllegalArgumentException;
16 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
18 (c,
p, t,
m) -> nMakeTwoPointConical(x0, y0, r0, x1, y1, r1, c,
p, t,
m));
23 TileMode tm)
throws IllegalArgumentException {
24 this(x0, y0, r0, x1, y1, r1,
colors,
pos, tm,
null);
29 @Nullable
Matrix localMatrix)
throws IllegalArgumentException {
31 (c,
p, t,
m) -> nMakeTwoPointConical(x0, y0, r0, x1, y1, r1, c,
p, t,
m));
36 TileMode tm)
throws IllegalArgumentException {
37 this(x0, y0, r0, x1, y1, r1,
colors,
pos, tm,
null);
40 private static native
long nMakeTwoPointConical(
float x0,
float y0,
float r0,
41 float x1,
float y1,
float r1,
42 float[]
colors,
float[]
pos,
int tilemode,
43 long nativeLocalMatrix);
TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, int[] colors, float[] pos, TileMode tm)
TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)
TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, TileMode tm)
TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix)
PODArray< SkColor > colors