Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Member Functions | Package Functions | List of all members
org.skia.jetski.PathBuilder Class Reference

Classes

enum  FillType
 

Public Member Functions

 PathBuilder ()
 
void release ()
 
void moveTo (float x, float y)
 
void lineTo (float x, float y)
 
void quadTo (float x1, float y1, float x2, float y2)
 
void conicTo (float x1, float y1, float x2, float y2, float w)
 
void cubicTo (float x1, float y1, float x2, float y2, float x3, float y3)
 
void close ()
 
void setFillType (FillType fillType)
 
Path makePath ()
 

Package Functions

long getNativeInstance ()
 

Detailed Description

Definition at line 3 of file PathBuilder.java.

Constructor & Destructor Documentation

◆ PathBuilder()

org.skia.jetski.PathBuilder.PathBuilder ( )
inline

Definition at line 6 of file PathBuilder.java.

6 {
7 mNativeInstance = nCreate();
8 }

Member Function Documentation

◆ close()

void org.skia.jetski.PathBuilder.close ( )
inline

Definition at line 36 of file PathBuilder.java.

36 {
37 nClose(mNativeInstance);
38 }

◆ conicTo()

void org.skia.jetski.PathBuilder.conicTo ( float  x1,
float  y1,
float  x2,
float  y2,
float  w 
)
inline

Definition at line 29 of file PathBuilder.java.

29 {
30 nConicTo(mNativeInstance, x1, y1, x2, y2, w);
31 }
SkScalar w

◆ cubicTo()

void org.skia.jetski.PathBuilder.cubicTo ( float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
inline

Definition at line 32 of file PathBuilder.java.

32 {
33 nCubicTo(mNativeInstance, x1, y1, x2, y2, x3, y3);
34 }

◆ getNativeInstance()

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

Definition at line 65 of file PathBuilder.java.

65{ return mNativeInstance; }

◆ lineTo()

void org.skia.jetski.PathBuilder.lineTo ( float  x,
float  y 
)
inline

Definition at line 22 of file PathBuilder.java.

22 {
23 nLineTo(mNativeInstance, x, y);
24 }
double y
double x

◆ makePath()

Path org.skia.jetski.PathBuilder.makePath ( )
inline

Definition at line 60 of file PathBuilder.java.

60 {
61 return new Path(nMake(mNativeInstance));
62 }
CanvasPath Path
Definition dart_ui.cc:58

◆ moveTo()

void org.skia.jetski.PathBuilder.moveTo ( float  x,
float  y 
)
inline

Definition at line 18 of file PathBuilder.java.

18 {
19 nMoveTo(mNativeInstance, x, y);
20 }

◆ quadTo()

void org.skia.jetski.PathBuilder.quadTo ( float  x1,
float  y1,
float  x2,
float  y2 
)
inline

Definition at line 26 of file PathBuilder.java.

26 {
27 nQuadTo(mNativeInstance, x1, y1, x2, y2);
28 }

◆ release()

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

Releases any resources associated with this Path.

Definition at line 13 of file PathBuilder.java.

13 {
14 nRelease(mNativeInstance);
15 mNativeInstance = 0;
16 }

◆ setFillType()

void org.skia.jetski.PathBuilder.setFillType ( FillType  fillType)
inline

Definition at line 52 of file PathBuilder.java.

52 {
53 nSetFillType(mNativeInstance, fillType.nativeInt);
54 }

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