Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
org.skia.jetski.SweepGradient Class Reference
Inheritance diagram for org.skia.jetski.SweepGradient:
org.skia.jetski.Gradient org.skia.jetski.Shader

Public Member Functions

 SweepGradient (float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 SweepGradient (float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm) throws IllegalArgumentException
 
 SweepGradient (float x, float y, int[] colors, float[] pos) throws IllegalArgumentException
 
 SweepGradient (float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 SweepGradient (float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm) throws IllegalArgumentException
 
 SweepGradient (float x, float y, float[] colors, float[] pos) throws IllegalArgumentException
 
- Public Member Functions inherited from org.skia.jetski.Shader
void release ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.skia.jetski.Gradient
 Gradient (int[] colors, float[] pos, TileMode tm, Matrix lm, GradientFactory gf) throws IllegalArgumentException
 
 Gradient (float[] colors, float[] pos, TileMode tm, Matrix lm, GradientFactory gf) throws IllegalArgumentException
 
- Protected Member Functions inherited from org.skia.jetski.Shader
void finalize () throws Throwable
 
- Package Functions inherited from org.skia.jetski.Shader
 Shader (long native_instance)
 
long getNativeInstance ()
 

Detailed Description

Definition at line 13 of file SweepGradient.java.

Constructor & Destructor Documentation

◆ SweepGradient() [1/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
float  startAngle,
float  endAngle,
int[]  colors,
float[]  pos,
TileMode  tm,
@Nullable Matrix  localMatrix 
) throws IllegalArgumentException
inline

Definition at line 14 of file SweepGradient.java.

16 {
17 super(colors, pos, tm, localMatrix,
18 (c, p, t, m) -> nMakeSweep(x, y, startAngle, endAngle, c, p, t, m));
19 }
SkPoint pos
double y
double x

◆ SweepGradient() [2/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
float  startAngle,
float  endAngle,
int[]  colors,
float[]  pos,
TileMode  tm 
) throws IllegalArgumentException
inline

Definition at line 21 of file SweepGradient.java.

22 {
23 this(x, y, startAngle, endAngle, colors, pos, tm, null);
24 }
SkScalar startAngle
Definition SkRecords.h:250
PODArray< SkColor > colors
Definition SkRecords.h:276

◆ SweepGradient() [3/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
int[]  colors,
float[]  pos 
) throws IllegalArgumentException
inline

Definition at line 26 of file SweepGradient.java.

27 {
28 this(x, y, 0, 360, colors, pos, TileMode.CLAMP, null);
29 }
SkTileMode TileMode(jint tm)
Definition Utils.cpp:26

◆ SweepGradient() [4/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
float  startAngle,
float  endAngle,
float[]  colors,
float[]  pos,
TileMode  tm,
@Nullable Matrix  localMatrix 
) throws IllegalArgumentException
inline

Definition at line 31 of file SweepGradient.java.

33 {
34 super(colors, pos, tm, localMatrix,
35 (c, p, t, m) -> nMakeSweep(x, y, startAngle, endAngle, c, p, t, m));
36 }

◆ SweepGradient() [5/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
float  startAngle,
float  endAngle,
float[]  colors,
float[]  pos,
TileMode  tm 
) throws IllegalArgumentException
inline

Definition at line 38 of file SweepGradient.java.

39 {
40 this(x, y, startAngle, endAngle, colors, pos, tm, null);
41 }

◆ SweepGradient() [6/6]

org.skia.jetski.SweepGradient.SweepGradient ( float  x,
float  y,
float[]  colors,
float[]  pos 
) throws IllegalArgumentException
inline

Definition at line 43 of file SweepGradient.java.

44 {
45 this(x, y, 0, 360, colors, pos, TileMode.CLAMP, null);
46 }

The documentation for this class was generated from the following file: