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

Public Member Functions

void release ()
 

Protected Member Functions

void finalize () throws Throwable
 

Package Functions

 Shader (long native_instance)
 
long getNativeInstance ()
 

Detailed Description

Definition at line 10 of file Shader.java.

Constructor & Destructor Documentation

◆ Shader()

org.skia.jetski.Shader.Shader ( long  native_instance)
inlinepackage

Definition at line 27 of file Shader.java.

27 {
28 mNativeInstance = native_instance;
29 }

Member Function Documentation

◆ finalize()

void org.skia.jetski.Shader.finalize ( ) throws Throwable
inlineprotected

Definition at line 22 of file Shader.java.

22 {
23 release();
24 }

◆ getNativeInstance()

long org.skia.jetski.Shader.getNativeInstance ( )
inlinepackage

Definition at line 31 of file Shader.java.

31{ return mNativeInstance; }

◆ release()

void org.skia.jetski.Shader.release ( )
inline

Releases any resources associated with this Shader.

Definition at line 16 of file Shader.java.

16 {
17 nRelease(mNativeInstance);
18 mNativeInstance = 0;
19 }

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