Class RMBorderStroke

  • All Implemented Interfaces:
    Archivable, RMPropertyChanger, java.lang.Cloneable

    public class RMBorderStroke
    extends RMStroke
    This stroke subclass strokes the rectangular border of a given shape, with option include/exclude individual sides.
    • Constructor Detail

      • RMBorderStroke

        public RMBorderStroke()
    • Method Detail

      • getShowLeft

        public boolean getShowLeft()
        Returns whether to show left border.
      • setShowLeft

        public void setShowLeft​(boolean aValue)
        Sets whether to show left border.
      • getShowRight

        public boolean getShowRight()
        Returns whether to show right border.
      • setShowRight

        public void setShowRight​(boolean aValue)
        Sets whether to show right border.
      • getShowTop

        public boolean getShowTop()
        Returns whether to show top border.
      • setShowTop

        public void setShowTop​(boolean aValue)
        Sets whether to show top border.
      • getShowBottom

        public boolean getShowBottom()
        Returns whether to show bottom border.
      • setShowBottom

        public void setShowBottom​(boolean aValue)
        Sets whether to show bottom border.
      • getStrokePath

        public java.awt.Shape getStrokePath​(RMShape aShape)
        Returns the path to be stroked, transformed from the input path.
        Overrides:
        getStrokePath in class RMStroke
      • equals

        public boolean equals​(java.lang.Object anObj)
        Standard equals implementation.
        Overrides:
        equals in class RMStroke