Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
platform_tools
android
apps
jetski
src
main
java
org
skia
jetski
ColorFilter.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
ColorFilter
{
11
private
long
mNativeInstance;
12
13
/**
14
* Releases any resources associated with this ColorFilter.
15
*/
16
public
void
release
() {
17
nRelease(mNativeInstance);
18
mNativeInstance = 0;
19
}
20
21
@Override
22
protected
void
finalize
() throws Throwable {
23
release
();
24
}
25
26
protected
ColorFilter
(
long
native_instance) {
27
mNativeInstance = native_instance;
28
}
29
30
long
getNativeInstance
() {
return
mNativeInstance; }
31
32
private
static
native
void
nRelease(
long
nativeInstance);
33
}
org.skia.jetski.ColorFilter
Definition
ColorFilter.java:10
org.skia.jetski.ColorFilter.getNativeInstance
long getNativeInstance()
Definition
ColorFilter.java:30
org.skia.jetski.ColorFilter.finalize
void finalize()
Definition
ColorFilter.java:22
org.skia.jetski.ColorFilter.ColorFilter
ColorFilter(long native_instance)
Definition
ColorFilter.java:26
org.skia.jetski.ColorFilter.release
void release()
Definition
ColorFilter.java:16
Generated on Fri Apr 26 2024 06:16:31 for Flutter Engine by
1.9.8