public class CircleToCommand extends DrawShapeCommand
DrawShapeCommandType.CIRCLETO
command type.factoryCreated, factoryProperties
Constructor and Description |
---|
CircleToCommand() |
CircleToCommand(Point centerPoint,
double radius,
double startAngle,
double endAngle) |
Modifier and Type | Method and Description |
---|---|
void |
setArgs(Point centerPoint,
double radius,
double startAngle,
double endAngle)
Sets the arguments to this "circleto" command.
|
getOrCreateRef, getType, setArgs, setType
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public CircleToCommand()
public CircleToCommand(Point centerPoint, double radius, double startAngle, double endAngle)
public void setArgs(Point centerPoint, double radius, double startAngle, double endAngle)
centerPoint
and radius
arguments specify the circle. The startAngle
and endAngle
arguments
specify the segment of the circle to draw.centerPoint
- the center point of the circle.radius
- the radius of the circle.startAngle
- the starting angle (in degrees) of the segment of the circle to draw.endAngle
- the ending angle (in degrees) of the segment of the circle to draw.