Flutter Engine
The Flutter Engine
third_party
skia
platform_tools
android
apps
jetski
src
main
java
org
skia
jetski
Path.java
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
package
org.skia.jetski;
9
10
public
class
Path
{
11
private
long
mNativeInstance;
12
13
Path
(
long
native_instance) {
14
mNativeInstance = native_instance;
15
}
16
17
/**
18
* Releases any resources associated with this Shader.
19
*/
20
public
void
release
() {
21
nRelease(mNativeInstance);
22
mNativeInstance = 0;
23
}
24
25
@Override
26
protected
void
finalize
() throws Throwable {
27
release
();
28
}
29
30
// package private
31
long
getNativeInstance
() {
return
mNativeInstance; }
32
33
private
static
native
void
nRelease(
long
nativeInstance);
34
}
org.skia.jetski.Path
Definition:
Path.java:10
org.skia.jetski.Path.release
void release()
Definition:
Path.java:20
org.skia.jetski.Path.finalize
void finalize()
Definition:
Path.java:26
org.skia.jetski.Path.getNativeInstance
long getNativeInstance()
Definition:
Path.java:31
org.skia.jetski.Path.Path
Path(long native_instance)
Definition:
Path.java:13
Generated on Sun Jun 23 2024 21:56:08 for Flutter Engine by
1.9.4