Package org.apache.poi.hemf.draw
Class HemfDrawProperties
- java.lang.Object
-
- org.apache.poi.hwmf.draw.HwmfDrawProperties
-
- org.apache.poi.hemf.draw.HemfDrawProperties
-
public class HemfDrawProperties extends HwmfDrawProperties
-
-
Field Summary
Fields Modifier and Type Field Description protected Path2DpathPath for path bracket operationsprotected booleanusePathBracket-
Fields inherited from class org.apache.poi.hwmf.draw.HwmfDrawProperties
clip, transform
-
-
Constructor Summary
Constructors Constructor Description HemfDrawProperties()HemfDrawProperties(HemfDrawProperties other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLeftTransform(AffineTransform transform)voidaddRightTransform(AffineTransform transform)voidclearTransform()List<? extends Map.Entry<Float,Color>>getBrushColorsH()List<? extends Map.Entry<Float,Color>>getBrushColorsV()Rectangle2DgetBrushRect()HemfPlusBrush.EmfPlusHatchStylegetEmfPlusBrushHatch()ImageRenderergetEmfPlusImage()Path2DgetPath()booleangetUsePathBracket()Use path (bracket) or graphics context for drawing operationsvoidsetBrushColorsH(List<? extends Map.Entry<Float,Color>> brushColorsH)voidsetBrushColorsV(List<? extends Map.Entry<Float,Color>> brushColorsV)voidsetBrushRect(Rectangle2D brushRect)voidsetEmfPlusBrushHatch(HemfPlusBrush.EmfPlusHatchStyle emfPlusBrushHatch)voidsetEmfPlusImage(ImageRenderer emfPlusImage)voidsetPath(Path2D path)Un-/Sets the bracket pathvoidsetUsePathBracket(boolean usePathBracket)-
Methods inherited from class org.apache.poi.hwmf.draw.HwmfDrawProperties
getBackgroundColor, getBkMode, getBrushBitmap, getBrushColor, getBrushHatch, getBrushStyle, getBrushTransform, getClip, getFont, getLocation, getMapMode, getPalette, getPaletteOffset, getPenColor, getPenMiterLimit, getPenStyle, getPenWidth, getPolyfillMode, getRasterOp2, getRasterOp3, getRegion, getTextAlignAsian, getTextAlignLatin, getTextColor, getTextVAlignAsian, getTextVAlignLatin, getTransform, getViewport, getWindingRule, getWindow, setBackgroundColor, setBkMode, setBrushBitmap, setBrushBitmap, setBrushColor, setBrushHatch, setBrushStyle, setBrushTransform, setClip, setFont, setLocation, setLocation, setMapMode, setPalette, setPaletteOffset, setPenColor, setPenMiterLimit, setPenStyle, setPenWidth, setPolyfillMode, setRasterOp2, setRasterOp3, setRegion, setTextAlignAsian, setTextAlignLatin, setTextColor, setTextVAlignAsian, setTextVAlignLatin, setTransform, setViewportExt, setViewportOrg, setWindowExt, setWindowOrg
-
-
-
-
Field Detail
-
path
protected Path2D path
Path for path bracket operations
-
usePathBracket
protected boolean usePathBracket
-
-
Constructor Detail
-
HemfDrawProperties
public HemfDrawProperties()
-
HemfDrawProperties
public HemfDrawProperties(HemfDrawProperties other)
-
-
Method Detail
-
getPath
public Path2D getPath()
- Returns:
- the current path used for bracket operations
-
setPath
public void setPath(Path2D path)
Un-/Sets the bracket path- Parameters:
path- the bracket path
-
getUsePathBracket
public boolean getUsePathBracket()
Use path (bracket) or graphics context for drawing operations- Returns:
true, if the drawing should go to the path bracket, iffalsedraw directly to the graphics context
-
setUsePathBracket
public void setUsePathBracket(boolean usePathBracket)
-
getEmfPlusBrushHatch
public HemfPlusBrush.EmfPlusHatchStyle getEmfPlusBrushHatch()
-
setEmfPlusBrushHatch
public void setEmfPlusBrushHatch(HemfPlusBrush.EmfPlusHatchStyle emfPlusBrushHatch)
-
getEmfPlusImage
public ImageRenderer getEmfPlusImage()
-
setEmfPlusImage
public void setEmfPlusImage(ImageRenderer emfPlusImage)
-
addLeftTransform
public void addLeftTransform(AffineTransform transform)
-
addRightTransform
public void addRightTransform(AffineTransform transform)
-
clearTransform
public void clearTransform()
-
getBrushRect
public Rectangle2D getBrushRect()
-
setBrushRect
public void setBrushRect(Rectangle2D brushRect)
-
-