com.keenedgesoftware.scrutinize.core.graphics.commands
Class ScaleCommand

java.lang.Object
  |
  +--com.keenedgesoftware.scrutinize.core.CoreEntity
        |
        +--com.keenedgesoftware.scrutinize.core.Command
              |
              +--com.keenedgesoftware.scrutinize.core.graphics.commands.GraphicsCommand
                    |
                    +--com.keenedgesoftware.scrutinize.core.graphics.commands.ScaleCommand

public class ScaleCommand
extends GraphicsCommand

Uniformly scales the specified node or current selection around the specified scale centre by the specified scale factor.

Examples:
$scale 6 2 1 10
$scale "/a1/a2/e3" 6 2 1 10


Fields inherited from class com.keenedgesoftware.scrutinize.core.Command
LEVEL_0, LEVEL_1, LEVEL_2, LEVEL_3, LEVEL_4, parser, STATE_FINAL, STATE_INITIAL, TYPE_SUSPENDING, TYPE_TERMINATING
 
Fields inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
ACTIVATE, BACKSLASH, EOL, GO, HASH, INIT, NEWLINE, QUIT, QUOTE, SLASH, SPACE
 
Constructor Summary
ScaleCommand()
          Default constructor
ScaleCommand(CommandManager cm)
          Usual constructor
 
Method Summary
 boolean messageHandler(java.lang.String message)
          Message handler
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.graphics.commands.GraphicsCommand
initialize
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.Command
getCursor, getLevel, getPicker, getPrompt, getSelector, getState, getType, setCursor, setPicker, setPrompt, setSelector, setState
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
getActiveView, getBroadcastManager, getCommandManager, getGraphicsGate, getGraphicsWorld, getMiscWorld, getModelWorld, getNetcaster, getRecorder, getScene, getSystemWorld, getTaskManager, getUniverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleCommand

public ScaleCommand()
Default constructor

ScaleCommand

public ScaleCommand(CommandManager cm)
Usual constructor
Method Detail

messageHandler

public boolean messageHandler(java.lang.String message)
Message handler
Overrides:
messageHandler in class Command