com.visioglobe.libVisioDevKit
Class VgMarker
java.lang.Object
com.visioglobe.libVisioDevKit.VgReferenced
com.visioglobe.libVisioDevKit.VgMarker
- Direct Known Subclasses:
- VgIconMarker, VgTextMarker
public class VgMarker
- extends VgReferenced
Displays a marker on a ponctual position described by a VgPoint.
There are two types of makers : textual (a label) and graphics (an image).
Constructor Summary |
VgMarker(long cPtr,
boolean cMemoryOwn)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VgMarker
public VgMarker(long cPtr,
boolean cMemoryOwn)
- Constructor.
getCPtr
public static long getCPtr(VgMarker obj)
finalize
protected void finalize()
- Overrides:
finalize
in class VgReferenced
delete
public void delete()
- Overrides:
delete
in class VgReferenced
asIconMarker
public VgIconMarker asIconMarker()
- Casts this instance into a VgIconMarker.
- Returns:
- A valid icon marker if this marker is compatible, NULL otherwise.
asTextMarker
public VgTextMarker asTextMarker()
- Casts this instance into a VgTextMarker.
- Returns:
- A valid text marker if this marker is compatible, NULL otherwise.