Definition at line 12 of file Paint.java.
◆ Paint()
org.skia.jetski.Paint.Paint |
( |
| ) |
|
|
inline |
Definition at line 15 of file Paint.java.
15 {
16 mNativeInstance = nCreate();
17 }
◆ finalize()
void org.skia.jetski.Paint.finalize |
( |
| ) |
throws Throwable |
|
inlineprotected |
◆ getNativeInstance()
long org.skia.jetski.Paint.getNativeInstance |
( |
| ) |
|
|
inlinepackage |
Definition at line 104 of file Paint.java.
104{ return mNativeInstance; }
◆ release()
void org.skia.jetski.Paint.release |
( |
| ) |
|
|
inline |
Releases any resources associated with this Paint.
Definition at line 93 of file Paint.java.
93 {
94 nRelease(mNativeInstance);
95 mNativeInstance = 0;
96 }
◆ setColor() [1/2]
Definition at line 19 of file Paint.java.
19 {
20 nSetColor(mNativeInstance, c.r(), c.g(), c.b(), c.a());
21 return this;
22 }
◆ setColor() [2/2]
Paint org.skia.jetski.Paint.setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
inline |
Definition at line 24 of file Paint.java.
24 {
25 nSetColor(mNativeInstance, r, g,
b,
a);
26 return this;
27 }
◆ setColorFilter()
Definition at line 29 of file Paint.java.
29 {
30 nSetColorFilter(mNativeInstance, filter != null ? filter.getNativeInstance() : 0);
31 return this;
32 }
◆ setImageFilter()
Definition at line 39 of file Paint.java.
39 {
40 nSetImageFilter(mNativeInstance, filter != null ? filter.getNativeInstance() : 0);
41 return this;
42 }
◆ setShader()
Paint org.skia.jetski.Paint.setShader |
( |
@Nullable Shader |
shader | ) |
|
|
inline |
Definition at line 34 of file Paint.java.
34 {
35 nSetShader(mNativeInstance, shader != null ? shader.getNativeInstance() : 0);
36 return this;
37 }
◆ setStroke()
Paint org.skia.jetski.Paint.setStroke |
( |
boolean |
stroke | ) |
|
|
inline |
Definition at line 44 of file Paint.java.
44 {
45 nSetStroke(mNativeInstance,
stroke);
46 return this;
47 }
◆ setStrokeCap()
Paint org.skia.jetski.Paint.setStrokeCap |
( |
Cap |
cap | ) |
|
|
inline |
Definition at line 64 of file Paint.java.
64 {
65 nSetStrokeCap(mNativeInstance, cap.nativeInt);
66 return this;
67 }
◆ setStrokeJoin()
Paint org.skia.jetski.Paint.setStrokeJoin |
( |
Join |
join | ) |
|
|
inline |
Definition at line 80 of file Paint.java.
80 {
81 nSetStrokeJoin(mNativeInstance,
join.nativeInt);
82 return this;
83 }
static SkString join(const CommandLineFlags::StringArray &)
◆ setStrokeMiter()
Paint org.skia.jetski.Paint.setStrokeMiter |
( |
float |
limit | ) |
|
|
inline |
Definition at line 85 of file Paint.java.
85 {
86 nSetStrokeMiter(mNativeInstance, limit);
87 return this;
88 }
◆ setStrokeWidth()
Paint org.skia.jetski.Paint.setStrokeWidth |
( |
float |
w | ) |
|
|
inline |
Definition at line 49 of file Paint.java.
49 {
50 nSetStrokeWidth(mNativeInstance,
w);
51 return this;
52 }
The documentation for this class was generated from the following file:
- third_party/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/Paint.java