org.apache.poi.xslf.model.geom
Class ArcToCommand

java.lang.Object
  extended by org.apache.poi.xslf.model.geom.ArcToCommand
All Implemented Interfaces:
PathCommand

public class ArcToCommand
extends java.lang.Object
implements PathCommand

ArcTo command within a shape path in DrawingML: 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

Author:
Yegor Kozlov

Method Summary
 void execute(java.awt.geom.GeneralPath path, Context ctx)
          Execute the command an append a segment to the specified path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(java.awt.geom.GeneralPath path,
                    Context ctx)
Description copied from interface: PathCommand
Execute the command an append a segment to the specified path

Specified by:
execute in interface PathCommand
Parameters:
path - the path to append the result to
ctx - the context to lookup variables


Copyright 2012 The Apache Software Foundation or its licensors, as applicable.