cz.cuni.jagrlib
Class VCommand.RArcTo
java.lang.Object
cz.cuni.jagrlib.VectorCommand
cz.cuni.jagrlib.VCommand.MoveTo
cz.cuni.jagrlib.VCommand.ArcTo
cz.cuni.jagrlib.VCommand.RArcTo
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- VCommand
public class VCommand.RArcTo
- extends VCommand.ArcTo
Draw a circular arc (clockwise) and connects it to the current point.
- Since:
- 0.02
- Version:
- 0.25 $Rev: 563 $ $Date: 2007-10-19 00:41:35 +0200 (pá, 19 X 2007) $ $Author: pepca $
- See Also:
- VCommand.java,
VCommand.ArcTo
,
VCommand.MoveTo
,
VectorGraphics.rArcTo(double, double, double, double, double)
,
Serialized Form
Fields inherited from class cz.cuni.jagrlib.VectorCommand |
FILL_CALLBACK, FILL_DUMMY, FILL_HATCHL, FILL_HATCHR, FILL_SOLID, LINE_CALLBACK, LINE_DASH, LINE_DASHDOT, LINE_DOT, LINE_DUMMY, LINE_SOLID |
Constructor Summary |
VCommand.RArcTo(double _x,
double _y,
double _r,
double _alpha,
double _beta)
Initializing constructor. |
VCommand.RArcTo
public VCommand.RArcTo(double _x,
double _y,
double _r,
double _alpha,
double _beta)
- Initializing constructor.
- Parameters:
_x
- X coordinate of arc center._y
- Y coordinate of arc center._r
- Arc radius._alpha
- Starting angle in degrees._beta
- Finishing angle in degrees.
toString
public String toString()
- Overrides:
toString
in class VCommand.ArcTo
execute
public void execute(VectorGraphics out)
throws BadInterfaceException
- Executes the command on the given
VectorGraphics
interface.
- Overrides:
execute
in class VCommand.ArcTo
- Parameters:
out
- Output vector interface.
- Throws:
BadInterfaceException
- See Also:
VectorGraphics