public class Arc extends Instruction
| Constructor and Description |
|---|
Arc() |
Arc(double x,
double y,
double radius,
double startAngle,
double endAngle,
boolean anticlockwise) |
| Modifier and Type | Method and Description |
|---|---|
Instruction |
createNew(Parameter[] params) |
double |
getEndAngle() |
String |
getMethodParams() |
double |
getRadius() |
double |
getStartAngle() |
double |
getX() |
double |
getY() |
boolean |
isAnticlockwise() |
void |
setAnticlockwise(boolean anticlockwise) |
void |
setEndAngle(double endAngle) |
void |
setRadius(double radius) |
void |
setStartAngle(double startAngle) |
void |
setX(double x) |
void |
setY(double y) |
String |
toMethod() |
String |
toString() |
convertDoubleArray, convertStringArray, getId, getNamepublic static final String ID
public static final String NAME
public Arc()
public Arc(double x,
double y,
double radius,
double startAngle,
double endAngle,
boolean anticlockwise)
public Instruction createNew(Parameter[] params) throws Exception
createNew in class InstructionExceptionpublic String toMethod()
toMethod in class Instructionpublic String getMethodParams()
getMethodParams in class Instructionpublic String toString()
toString in class Instructionpublic double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getRadius()
public void setRadius(double radius)
public double getStartAngle()
public void setStartAngle(double startAngle)
public double getEndAngle()
public void setEndAngle(double endAngle)
public boolean isAnticlockwise()
public void setAnticlockwise(boolean anticlockwise)
Copyright © 2015 atRem Interactive Media. All rights reserved.