Package org.jcsp.awt

Class GraphicsCommand.DrawLine

Enclosing class:
GraphicsCommand

public static final class GraphicsCommand.DrawLine extends GraphicsCommand
This is the (immutable) command object for java.awt.Graphics.drawLine.
  • Field Details

    • x1

      final int x1
    • y1

      final int y1
    • x2

      final int x2
    • y2

      final int y2
  • Constructor Details

    • DrawLine

      public DrawLine(int x1, int y1, int x2, int y2)