public class GdiObject
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getID()
Return the identification of this GdiObject.
|
java.lang.Object |
getObject()
Return the Object associated with this GdiObject.
|
int |
getType()
Return the type of this GdiObject.
|
boolean |
isUsed()
Return true if this GdiObject is used.
|
void |
Setup(int _type,
java.lang.Object _obj)
Setup this Object, which means that it is used and associated with an Object.
|
public void clear()
public void Setup(int _type, java.lang.Object _obj)
The Object can be any Java Object that is useful for an implementation of
AbstractWMFPainter
that uses this GdiObject.
For example, if the painter paints in a Java Graphics2D :
WMFPainter
implementation uses a more sophisticated kind of Object in order to keep
track of the associated charset)_type
- the type of this object_obj
- the associated Objectpublic boolean isUsed()
public int getType()
public java.lang.Object getObject()
public int getID()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.