Package shaperCompiler.util
Class Circle
java.lang.Object
shaperCompiler.util.Shape
shaperCompiler.util.Circle
public class Circle extends Shape
The Class Circle.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Circle(org.antlr.runtime.Token x_center, org.antlr.runtime.Token y_center, org.antlr.runtime.Token radius)Instantiates a new circle. -
Method Summary
Modifier and Type Method Description java.lang.StringgetRadius()Gets the radius.java.lang.StringgetX_center()Gets the x center.java.lang.StringgetY_center()Gets the y center.voidsetRadius(java.lang.String radius)Sets the radius.voidsetX_center(java.lang.String x_center)Sets the x center.voidsetY_center(java.lang.String y_center)Sets the y center.java.lang.StringtoString()To string.Methods inherited from class shaperCompiler.util.Shape
getJobSpeed, getLube, getMoveSpeed, getType, setJobSpeed, setLube, setMoveSpeed, setType
-
Field Details
-
Constructor Details
-
Circle
public Circle(org.antlr.runtime.Token x_center, org.antlr.runtime.Token y_center, org.antlr.runtime.Token radius)Instantiates a new circle.- Parameters:
x_center- the x centery_center- the y centerradius- the radius
-
-
Method Details
-
toString
public java.lang.String toString()To string. -
getX_center
public java.lang.String getX_center()Gets the x center.- Returns:
- the x center
-
setX_center
public void setX_center(java.lang.String x_center)Sets the x center.- Parameters:
x_center- the new x center
-
getY_center
public java.lang.String getY_center()Gets the y center.- Returns:
- the y center
-
setY_center
public void setY_center(java.lang.String y_center)Sets the y center.- Parameters:
y_center- the new y center
-
getRadius
public java.lang.String getRadius()Gets the radius.- Returns:
- the radius
-
setRadius
public void setRadius(java.lang.String radius)Sets the radius.- Parameters:
radius- the new radius
-