de.inghuimische.uta.typeset
Class AbstractBox
java.lang.Object
de.inghuimische.uta.typeset.AbstractBox
- All Implemented Interfaces:
- Box
- Direct Known Subclasses:
- AbstractGlyph
- public abstract class AbstractBox
- extends Object
- implements Box
Abstract Box implementation.
- Author:
- Christian Ziesemer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBox
public AbstractBox()
getAnchorsByClass
public List getAnchorsByClass(AnchorClass anchorClass)
- Description copied from interface:
Box
- Returns a list containing only those anchors of the given type.
- Specified by:
getAnchorsByClass
in interface Box
- Parameters:
anchorClass
- One of the anchor types defined in Anchor
.
- Returns:
- A list containing only those anchors of the given type.
getBoundingBox
public Rectangle2D getBoundingBox()
- Description copied from interface:
Box
- Returns the bounding box of this object containing the whole
shape. The returned rectangle therefore provides the exact dimension
of the box.
- Specified by:
getBoundingBox
in interface Box
- Returns:
- The bounding box of this object.
reset
public abstract void reset()
- Frees all allocated resources. Useful when caching and reusing boxes.
 An inghuimische.de
project. | Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public
License for more details.
|