Package shaperCompiler.util
Class Rectangle
java.lang.Object
shaperCompiler.util.Shape
shaperCompiler.util.Rectangle
public class Rectangle extends Shape
The Class Rectangle.
- 
Field SummaryFields Modifier and Type Field Description (package private) java.lang.Stringxp1The xp 1.(package private) java.lang.Stringxp2The xp 2.(package private) java.lang.Stringxp3The xp 3.(package private) java.lang.Stringyp1The yp 1.(package private) java.lang.Stringyp2The yp 2.(package private) java.lang.Stringyp3The yp 3.
- 
Constructor SummaryConstructors 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 SummaryModifier and Type Method Description java.lang.StringgetXp1()Gets the xp 1.java.lang.StringgetXp2()Gets the xp 2.java.lang.StringgetXp3()Gets the xp 3.java.lang.StringgetYp1()Gets the yp 1.java.lang.StringgetYp2()Gets the yp 2.java.lang.StringgetYp3()Gets the yp 3.voidsetXp1(java.lang.String xp1)Sets the xp 1.voidsetXp2(java.lang.String xp2)Sets the xp 2.voidsetXp3(java.lang.String xp3)Sets the xp 3.voidsetYp1(java.lang.String yp1)Sets the yp 1.voidsetYp2(java.lang.String yp2)Sets the yp 2.voidsetYp3(java.lang.String yp3)Sets the yp 3.java.lang.StringtoString()To string.Methods inherited from class shaperCompiler.util.ShapegetJobSpeed, getLube, getMoveSpeed, getType, setJobSpeed, setLube, setMoveSpeed, setType
- 
Field Details
- 
Constructor Details- 
Rectanglepublic 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- 
toStringpublic java.lang.String toString()To string.
- 
getXp1public java.lang.String getXp1()Gets the xp 1.- Returns:
- the xp 1
 
- 
setXp1public void setXp1(java.lang.String xp1)Sets the xp 1.- Parameters:
- xp1- the new xp 1
 
- 
getYp1public java.lang.String getYp1()Gets the yp 1.- Returns:
- the yp 1
 
- 
setYp1public void setYp1(java.lang.String yp1)Sets the yp 1.- Parameters:
- yp1- the new yp 1
 
- 
getXp2public java.lang.String getXp2()Gets the xp 2.- Returns:
- the xp 2
 
- 
setXp2public void setXp2(java.lang.String xp2)Sets the xp 2.- Parameters:
- xp2- the new xp 2
 
- 
getYp2public java.lang.String getYp2()Gets the yp 2.- Returns:
- the yp 2
 
- 
setYp2public void setYp2(java.lang.String yp2)Sets the yp 2.- Parameters:
- yp2- the new yp 2
 
- 
getXp3public java.lang.String getXp3()Gets the xp 3.- Returns:
- the xp 3
 
- 
setXp3public void setXp3(java.lang.String xp3)Sets the xp 3.- Parameters:
- xp3- the new xp 3
 
- 
getYp3public java.lang.String getYp3()Gets the yp 3.- Returns:
- the yp 3
 
- 
setYp3public void setYp3(java.lang.String yp3)Sets the yp 3.- Parameters:
- yp3- the new yp 3
 
 
-