Class HorizontalLine

  • All Implemented Interfaces:
    Serializable, Element
    Direct Known Subclasses:
    DashedHorizontalLine

    public class HorizontalLine
    extends Line
    HorizontalLine object. HorizontalLine properties can be set or overriden by the options passed in from the user.
    Author:
    inaiat
    See Also:
    Serialized Form
    • Constructor Detail

      • HorizontalLine

        public HorizontalLine()
        Instantiates a new horizontal line.
      • HorizontalLine

        public HorizontalLine​(String name)
        Instantiates a new horizontal line.
        Parameters:
        name - the name
    • Method Detail

      • getY

        public Integer getY()
        Gets the y.
        Returns:
        the y
      • setY

        public void setY​(Integer y)
        Sets the y.
        Parameters:
        y - the new y
      • getXMin

        public Integer getXMin()
        Gets the xmin.
        Returns:
        the xmin
      • setXMin

        public void setXMin​(Integer xmin)
        Sets the xmin.
        Parameters:
        xmin - the new xmin
      • getYMin

        public Integer getYMin()
        Gets the ymin.
        Returns:
        the ymin
      • setYMin

        public void setYMin​(Integer ymin)
        Sets the ymin.
        Parameters:
        ymin - the new ymin