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

Public Member Functions

 LinearGradient (float x0, float y0, float x1, float y1, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 LinearGradient (float x0, float y0, float x1, float y1, int[] colors, float[] pos, TileMode tm) throws IllegalArgumentException
 
 LinearGradient (float x0, float y0, float x1, float y1, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) throws IllegalArgumentException
 
 LinearGradient (float x0, float y0, float x1, float y1, 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 LinearGradient.java.

Constructor & Destructor Documentation

◆ LinearGradient() [1/4]

org.skia.jetski.LinearGradient.LinearGradient ( float  x0,
float  y0,
float  x1,
float  y1,
int[]  colors,
float[]  pos,
TileMode  tm,
@Nullable Matrix  localMatrix 
) throws IllegalArgumentException
inline

Definition at line 14 of file LinearGradient.java.

16 {
17 super(colors, pos, tm, localMatrix,
18 (c, p, t, m) -> nMakeLinear(x0, y0, x1, y1, c, p, t, m));
19 }
SkPoint pos
PODArray< SkColor > colors
Definition: SkRecords.h:276

◆ LinearGradient() [2/4]

org.skia.jetski.LinearGradient.LinearGradient ( float  x0,
float  y0,
float  x1,
float  y1,
int[]  colors,
float[]  pos,
TileMode  tm 
) throws IllegalArgumentException
inline

Definition at line 21 of file LinearGradient.java.

22 {
23 this(x0, y0, x1, y1, colors, pos, tm, null);
24 }

◆ LinearGradient() [3/4]

org.skia.jetski.LinearGradient.LinearGradient ( float  x0,
float  y0,
float  x1,
float  y1,
float[]  colors,
float[]  pos,
TileMode  tm,
@Nullable Matrix  localMatrix 
) throws IllegalArgumentException
inline

Definition at line 26 of file LinearGradient.java.

28 {
29 super(colors, pos, tm, localMatrix,
30 (c, p, t, m) -> nMakeLinear(x0, y0, x1, y1, c, p, t, m));
31 }

◆ LinearGradient() [4/4]

org.skia.jetski.LinearGradient.LinearGradient ( float  x0,
float  y0,
float  x1,
float  y1,
float[]  colors,
float[]  pos,
TileMode  tm 
) throws IllegalArgumentException
inline

Definition at line 33 of file LinearGradient.java.

34 {
35 this(x0, y0, x1, y1, colors, pos, tm, null);
36 }

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