net.nexttext.behaviour.dform
Class Scale

java.lang.Object
  extended by net.nexttext.behaviour.AbstractAction
      extended by net.nexttext.behaviour.dform.DForm
          extended by net.nexttext.behaviour.dform.Scale
All Implemented Interfaces:
Action

public class Scale
extends DForm

A DForm which scales the size of a TextObject.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action
Action.ActionResult
 
Constructor Summary
Scale(float scale)
           
 
Method Summary
 Action.ActionResult behave(TextObjectGlyph to)
          DForms generally just make sense on TextObjectGlyphs.
 float getScale()
           
 void setScale(float scale)
           
 
Methods inherited from class net.nexttext.behaviour.dform.DForm
behave, getControlPoints
 
Methods inherited from class net.nexttext.behaviour.AbstractAction
behave, behave, complete, getDisplayName, getRequiredProperties, makeBehaviour, properties, setDisplayName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scale

public Scale(float scale)
Parameters:
scale - is amount the object's size will increase, as a multiplier.
Method Detail

behave

public Action.ActionResult behave(TextObjectGlyph to)
Description copied from class: DForm
DForms generally just make sense on TextObjectGlyphs.

Specified by:
behave in class DForm

getScale

public float getScale()

setScale

public void setScale(float scale)