android.graphics
Class DrawFilter
java.lang.Object
android.graphics.DrawFilter
- Direct Known Subclasses:
- PaintFlagsDrawFilter
public class DrawFilter
- extends Object
A DrawFilter subclass can be installed in a Canvas. When it is present, it
can modify the paint that is used to draw (temporarily). With this, a filter
can disable/enable antialiasing, or change the color for everything this is
drawn.
|
Method Summary |
protected void |
finalize()
Called by the virtual machine when there are no longer any (non-weak)
references to the receiver. |
mNativeInt
int mNativeInt
DrawFilter
public DrawFilter()
finalize
protected void finalize()
throws Throwable
- Description copied from class:
Object
- Called by the virtual machine when there are no longer any (non-weak)
references to the receiver. Subclasses can use this facility to guarantee
that any associated resources are cleaned up before the receiver is
garbage collected. Uncaught exceptions which are thrown during the
running of the method cause it to terminate immediately, but are
otherwise ignored.
Note: The virtual machine assumes that the implementation in class Object
is empty.
- Overrides:
finalize in class Object
- Throws:
Throwable - The virtual machine ignores any exceptions which are
thrown during finalization.
Please submit a feedback, bug or feature