public class ArcToCommand extends java.lang.Object implements PathCommand
<arcTo wR="wr" hR="hr" stAng="stAng" swAng="swAng"/>
Where wr and wh are the height and width radiuses
of the supposed circle being used to draw the arc. This gives the circle
a total height of (2 * hR) and a total width of (2 * wR)
stAng is the start angle and swAng is the swing angle
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.awt.geom.Path2D.Double path,
Context ctx)
Execute the command an append a segment to the specified path
|
public void execute(java.awt.geom.Path2D.Double path,
Context ctx)
PathCommandexecute in interface PathCommandpath - the path to append the result toctx - the context to lookup variablesCopyright 2018 The Apache Software Foundation or its licensors, as applicable.