Flutter Engine
The Flutter Engine
Classes | Protected Member Functions | List of all members
org.skia.jetski.Gradient Class Reference
Inheritance diagram for org.skia.jetski.Gradient:
org.skia.jetski.Shader org.skia.jetski.LinearGradient org.skia.jetski.RadialGradient org.skia.jetski.SweepGradient org.skia.jetski.TwoPointConicalGradient

Classes

interface  GradientFactory
 

Protected Member Functions

 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
 

Additional Inherited Members

- Public Member Functions inherited from org.skia.jetski.Shader
void release ()
 
- Package Functions inherited from org.skia.jetski.Shader
 Shader (long native_instance)
 
long getNativeInstance ()
 

Detailed Description

Definition at line 12 of file Gradient.java.

Constructor & Destructor Documentation

◆ Gradient() [1/2]

org.skia.jetski.Gradient.Gradient ( int[]  colors,
float[]  pos,
TileMode  tm,
Matrix  lm,
GradientFactory  gf 
) throws IllegalArgumentException
inlineprotected

Definition at line 17 of file Gradient.java.

18 {
19 super(makeGradient(colors, pos, tm, lm, gf));
20 }
SkPoint pos
PODArray< SkColor > colors
Definition: SkRecords.h:276

◆ Gradient() [2/2]

org.skia.jetski.Gradient.Gradient ( float[]  colors,
float[]  pos,
TileMode  tm,
Matrix  lm,
GradientFactory  gf 
) throws IllegalArgumentException
inlineprotected

Definition at line 22 of file Gradient.java.

23 {
24 super(makeGradient(colors, pos, tm, lm, gf));
25 }

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