- All Implemented Interfaces:
public class Kern
- extends AbstractAction
Resets the spacing between children of a textObjectGroup. It
uses the width of the bounding box of the children of that group
plus a constant passed in at construction to space the children.
When applied to a word this operation is known as Kerning, it was
originally designed to do just this, hence the name.
|Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public float kern
public Kern(float kern)
public Action.ActionResult behave(TextObject to)
- Description copied from class:
- Default behave method for single objects.
This method does nothing; it should be overriden by subclasses if
they wish to support actions on single objects.
Trying to call this method on an Action which doesn't override it
will throw an UnsupportedActionException.
- Specified by:
behave in interface
behave in class