|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.VectorCommand
cz.cuni.jagrlib.VCommand.MoveTo
cz.cuni.jagrlib.VCommand.ArcTo
public class VCommand.ArcTo
Draw a circular arc (counterclockwise) and connects it to the current point.
VCommand.RArcTo
,
VCommand.MoveTo
,
VectorGraphics.arcTo(double, double, double, double, double)
,
Serialized FormField Summary | |
---|---|
double |
alpha
Starting angle in degrees. |
double |
beta
Finishing angle in degrees. |
double |
r
Arc radius. |
Fields inherited from class cz.cuni.jagrlib.VCommand.MoveTo |
---|
x, y |
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.ArcTo(double _x,
double _y,
double _r,
double _alpha,
double _beta)
Initializing constructor. |
Method Summary | |
---|---|
void |
execute(VectorGraphics out)
Executes the command on the given VectorGraphics interface. |
java.lang.String |
toString()
|
void |
transform(java.awt.geom.AffineTransform t)
Transforms the command using the given AffineTransform . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double r
public double alpha
public double beta
Constructor Detail |
---|
public VCommand.ArcTo(double _x, double _y, double _r, double _alpha, double _beta)
_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.Method Detail |
---|
public void transform(java.awt.geom.AffineTransform t)
AffineTransform
.
transform
in class VCommand.MoveTo
t
- Affine transformation (3x2 matrix of doubles) or null.public java.lang.String toString()
toString
in class VCommand.MoveTo
public void execute(VectorGraphics out) throws BadInterfaceException
VectorGraphics
interface.
execute
in class VCommand.MoveTo
out
- Output vector interface.
BadInterfaceException
VectorGraphics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |