Class LineToCommand

All Implemented Interfaces:
HasHandlers

public class LineToCommand extends DrawShapeCommand
Command to draw a multi-segment line. Corresponds to the DrawShapeCommandType.LINETO command type.
  • Constructor Details

    • LineToCommand

      public LineToCommand()
    • LineToCommand

      public LineToCommand(Point... points)
  • Method Details

    • setArgs

      public void setArgs(Point... points)
      Sets the points to draw lines through in sequence when executing this "lineto" command.
      Parameters:
      points - the points to draw lines through.