Flutter Engine
The Flutter Engine
Public Attributes | Package Functions | List of all members
org.skia.jetskidemo.Face Class Reference

Public Attributes

Sample sample
 

Package Functions

 Face (float rotX, float rotY, Sample sample)
 
Matrix asMatrix (float scale)
 

Detailed Description

Definition at line 30 of file CubeActivity.java.

Constructor & Destructor Documentation

◆ Face()

org.skia.jetskidemo.Face.Face ( float  rotX,
float  rotY,
Sample  sample 
)
inlinepackage

Definition at line 35 of file CubeActivity.java.

35 {
36 this.rotX = rotX;
37 this.rotY = rotY;
38 this.sample = sample;
39 }

Member Function Documentation

◆ asMatrix()

Matrix org.skia.jetskidemo.Face.asMatrix ( float  scale)
inlinepackage

Definition at line 41 of file CubeActivity.java.

41 {
42 return new Matrix().rotateY(rotY).rotateX(rotX).translate(0, 0, scale);
43 }
SK_API sk_sp< PrecompileColorFilter > Matrix()
const Scalar scale

Member Data Documentation

◆ sample

Sample org.skia.jetskidemo.Face.sample

Definition at line 33 of file CubeActivity.java.


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