Package org.apache.poi.xslf.draw.geom
Class XSLFPath
java.lang.Object
org.apache.poi.xslf.draw.geom.XSLFPath
- All Implemented Interfaces:
PathIf
Wrapper / delegate for XmlBeans custom geometry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommand(PathCommand cmd) getFill()longgetH()Convert the internal represenation to java.awt.geom.Path2DlonggetW()booleanbooleanisFilled()booleanvoidsetExtrusionOk(boolean extrusionOk) voidvoidsetH(long h) voidsetStroke(boolean stroke) voidsetW(long w)
-
Constructor Details
-
XSLFPath
public XSLFPath(org.openxmlformats.schemas.drawingml.x2006.main.CTPath2D pathXml)
-
-
Method Details
-
addCommand
- Specified by:
addCommandin interfacePathIf
-
getPath
Description copied from interface:PathIfConvert the internal represenation to java.awt.geom.Path2D -
isStroked
public boolean isStroked() -
setStroke
public void setStroke(boolean stroke) -
isFilled
public boolean isFilled() -
getFill
-
setFill
-
getW
public long getW() -
setW
public void setW(long w) -
getH
public long getH() -
setH
public void setH(long h) -
isExtrusionOk
public boolean isExtrusionOk()- Specified by:
isExtrusionOkin interfacePathIf
-
setExtrusionOk
public void setExtrusionOk(boolean extrusionOk) - Specified by:
setExtrusionOkin interfacePathIf
-