Class CircleToCommand
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.DrawShapeCommand
com.smartgwt.client.widgets.drawing.CircleToCommand
- All Implemented Interfaces:
HasHandlers
Command to draw a segment of a specified circle. Corresponds to the
DrawShapeCommandType.CIRCLETO
command type.-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
ConstructorDescriptionCircleToCommand
(Point centerPoint, double radius, double startAngle, double endAngle) -
Method Summary
Methods inherited from class com.smartgwt.client.widgets.drawing.DrawShapeCommand
getOrCreateRef, getType, setArgs, setType
Methods inherited from class com.smartgwt.client.core.DataClass
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
-
Constructor Details
-
CircleToCommand
public CircleToCommand() -
CircleToCommand
-
-
Method Details
-
setArgs
Sets the arguments to this "circleto" command. ThecenterPoint
andradius
arguments specify the circle. ThestartAngle
andendAngle
arguments specify the segment of the circle to draw.- Parameters:
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.
-