Class Rectangle

java.lang.Object
shaperCompiler.util.Shape
shaperCompiler.util.Rectangle

public class Rectangle
extends Shape
The Class Rectangle.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) java.lang.String xp1
    The xp 1.
    (package private) java.lang.String xp2
    The xp 2.
    (package private) java.lang.String xp3
    The xp 3.
    (package private) java.lang.String yp1
    The yp 1.
    (package private) java.lang.String yp2
    The yp 2.
    (package private) java.lang.String yp3
    The yp 3.

    Fields inherited from class shaperCompiler.util.Shape

    jobSpeed, lube, moveSpeed, type
  • Constructor Summary

    Constructors 
    Constructor Description
    Rectangle​(org.antlr.runtime.Token xp1, org.antlr.runtime.Token yp1, org.antlr.runtime.Token xp2, org.antlr.runtime.Token yp2, org.antlr.runtime.Token xp3, org.antlr.runtime.Token yp3)
    Instantiates a new rectangle.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getXp1()
    Gets the xp 1.
    java.lang.String getXp2()
    Gets the xp 2.
    java.lang.String getXp3()
    Gets the xp 3.
    java.lang.String getYp1()
    Gets the yp 1.
    java.lang.String getYp2()
    Gets the yp 2.
    java.lang.String getYp3()
    Gets the yp 3.
    void setXp1​(java.lang.String xp1)
    Sets the xp 1.
    void setXp2​(java.lang.String xp2)
    Sets the xp 2.
    void setXp3​(java.lang.String xp3)
    Sets the xp 3.
    void setYp1​(java.lang.String yp1)
    Sets the yp 1.
    void setYp2​(java.lang.String yp2)
    Sets the yp 2.
    void setYp3​(java.lang.String yp3)
    Sets the yp 3.
    java.lang.String toString()
    To string.

    Methods inherited from class shaperCompiler.util.Shape

    getJobSpeed, getLube, getMoveSpeed, getType, setJobSpeed, setLube, setMoveSpeed, setType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • xp1

      java.lang.String xp1
      The xp 1.
    • yp1

      java.lang.String yp1
      The yp 1.
    • xp2

      java.lang.String xp2
      The xp 2.
    • yp2

      java.lang.String yp2
      The yp 2.
    • xp3

      java.lang.String xp3
      The xp 3.
    • yp3

      java.lang.String yp3
      The yp 3.
  • Constructor Details

    • Rectangle

      public Rectangle​(org.antlr.runtime.Token xp1, org.antlr.runtime.Token yp1, org.antlr.runtime.Token xp2, org.antlr.runtime.Token yp2, org.antlr.runtime.Token xp3, org.antlr.runtime.Token yp3)
      Instantiates a new rectangle.
      Parameters:
      xp1 - the xp 1
      yp1 - the yp 1
      xp2 - the xp 2
      yp2 - the yp 2
      xp3 - the xp 3
      yp3 - the yp 3
  • Method Details

    • toString

      public java.lang.String toString()
      To string.
      Overrides:
      toString in class Shape
      Returns:
      the string
    • getXp1

      public java.lang.String getXp1()
      Gets the xp 1.
      Returns:
      the xp 1
    • setXp1

      public void setXp1​(java.lang.String xp1)
      Sets the xp 1.
      Parameters:
      xp1 - the new xp 1
    • getYp1

      public java.lang.String getYp1()
      Gets the yp 1.
      Returns:
      the yp 1
    • setYp1

      public void setYp1​(java.lang.String yp1)
      Sets the yp 1.
      Parameters:
      yp1 - the new yp 1
    • getXp2

      public java.lang.String getXp2()
      Gets the xp 2.
      Returns:
      the xp 2
    • setXp2

      public void setXp2​(java.lang.String xp2)
      Sets the xp 2.
      Parameters:
      xp2 - the new xp 2
    • getYp2

      public java.lang.String getYp2()
      Gets the yp 2.
      Returns:
      the yp 2
    • setYp2

      public void setYp2​(java.lang.String yp2)
      Sets the yp 2.
      Parameters:
      yp2 - the new yp 2
    • getXp3

      public java.lang.String getXp3()
      Gets the xp 3.
      Returns:
      the xp 3
    • setXp3

      public void setXp3​(java.lang.String xp3)
      Sets the xp 3.
      Parameters:
      xp3 - the new xp 3
    • getYp3

      public java.lang.String getYp3()
      Gets the yp 3.
      Returns:
      the yp 3
    • setYp3

      public void setYp3​(java.lang.String yp3)
      Sets the yp 3.
      Parameters:
      yp3 - the new yp 3