Class RMLineSegment

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
RMCellDivider

public class RMLineSegment extends RMShape
This class represents a simple line shape, drawing a line from a start point to an end point.
  • Constructor Details

    • RMLineSegment

      public RMLineSegment()
      Creates a basic line (a point actually at 0,0).
    • RMLineSegment

      public RMLineSegment(float x1, float y1, float x2, float y2)
      Creates a basic black line from the given x1, y1 to the given x2, y2.
  • Method Details