Class RMLineShape.ArrowHead

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener
Enclosing class:
RMLineShape

public static class RMLineShape.ArrowHead extends RMPolygonShape
A line segment arrow head.
  • Constructor Details

    • ArrowHead

      public ArrowHead()
      Creates a new arrow head.
    • ArrowHead

      public ArrowHead(int aType)
      Creates a new arrow head of type.
  • Method Details

    • getOrigin

      public RMPoint getOrigin()
      Returns the point, in the shape's coordinate system, of the origin (attachment point).
    • notRSS

      public boolean notRSS()
      Overridden to indicate arrow head is always funky.
    • getTransform

      public RMTransform getTransform()
      Overridden from RMShape to change the center of rotation to the arrowhead's origin.
      Overrides:
      getTransform in class RMShape
    • toXMLShape

      public RXElement toXMLShape(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXMLShape in class RMPolygonShape
    • fromXMLShape

      protected void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXMLShape in class RMPolygonShape