Package org.apache.poi.sl.draw.geom
Class ArcToCommand
- java.lang.Object
-
- org.apache.poi.sl.draw.geom.ArcToCommand
-
- All Implemented Interfaces:
PathCommand
public class ArcToCommand extends java.lang.Object implements PathCommand
ArcTo command within a shape path in DrawingML:<arcTo wR="wr" hR="hr" stAng="stAng" swAng="swAng"/>
Where
wr
andwh
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 thestart
angle andswAng
is the swing angle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.awt.geom.Path2D.Double path, Context ctx)
Execute the command an append a segment to the specified path
-
-
-
Method Detail
-
execute
public void execute(java.awt.geom.Path2D.Double path, Context ctx)
Description copied from interface:PathCommand
Execute the command an append a segment to the specified path- Specified by:
execute
in interfacePathCommand
- Parameters:
path
- the path to append the result toctx
- the context to lookup variables
-
-