Class MoveToCommand

All Implemented Interfaces:
HasHandlers

public class MoveToCommand extends DrawShapeCommand
Command to start a new sub-path. Corresponds to the DrawShapeCommandType.MOVETO command type.
  • Constructor Details

    • MoveToCommand

      public MoveToCommand()
    • MoveToCommand

      public MoveToCommand(Point p)
  • Method Details

    • setArgs

      public void setArgs(Point p)
      Sets the point to move to when executing this "moveto" command.
      Parameters:
      p - the point to move to.