Package org.apache.poi.sl.draw.geom
Class Path
- java.lang.Object
-
- org.apache.poi.sl.draw.geom.Path
-
public class Path extends java.lang.Object
Specifies a creation path consisting of a series of moves, lines and curves that when combined forms a geometric shape
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommand(PathCommand cmd)
PaintStyle.PaintModifier
getFill()
long
getH()
java.awt.geom.Path2D.Double
getPath(Context ctx)
Convert the internal represenation to java.awt.geom.Path2Dlong
getW()
boolean
isFilled()
boolean
isStroked()
-
-
-
Constructor Detail
-
Path
public Path()
-
Path
public Path(boolean fill, boolean stroke)
-
Path
public Path(CTPath2D spPath)
-
-
Method Detail
-
addCommand
public void addCommand(PathCommand cmd)
-
getPath
public java.awt.geom.Path2D.Double getPath(Context ctx)
Convert the internal represenation to java.awt.geom.Path2D
-
isStroked
public boolean isStroked()
-
isFilled
public boolean isFilled()
-
getFill
public PaintStyle.PaintModifier getFill()
-
getW
public long getW()
-
getH
public long getH()
-
-