Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
org.skia.jetski.RadialGradient Class Reference
Inheritance diagram for org.skia.jetski.RadialGradient:
org.skia.jetski.Gradient org.skia.jetski.Shader

Public Member Functions

 RadialGradient (float x, float y, float r, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 RadialGradient (float x, float y, float r, int[] colors, float[] pos, TileMode tm) throws IllegalArgumentException
 
 RadialGradient (float x, float y, float r, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 RadialGradient (float x, float y, float r, float[] colors, float[] pos, TileMode tm) 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 RadialGradient.java.

Constructor & Destructor Documentation

◆ RadialGradient() [1/4]

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

Definition at line 14 of file RadialGradient.java.

15 {
16 super(colors, pos, tm, localMatrix,
17 (c, p, t, m) -> nMakeRadial(x, y, r, c, p, t, m));
18 }
SkPoint pos
double y
double x
PODArray< SkColor > colors
Definition: SkRecords.h:276

◆ RadialGradient() [2/4]

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

Definition at line 20 of file RadialGradient.java.

21 {
22 this(x, y, r, colors, pos, tm, null);
23 }

◆ RadialGradient() [3/4]

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

Definition at line 25 of file RadialGradient.java.

26 {
27 super(colors, pos, tm, localMatrix,
28 (c, p, t, m) -> nMakeRadial(x, y, r, c, p, t, m));
29 }

◆ RadialGradient() [4/4]

org.skia.jetski.RadialGradient.RadialGradient ( float  x,
float  y,
float  r,
float[]  colors,
float[]  pos,
TileMode  tm 
) throws IllegalArgumentException
inline

Definition at line 31 of file RadialGradient.java.

32 {
33 this(x, y, r, colors, pos, tm, null);
34 }

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