Package org.apache.poi.hemf.draw
Class HemfDrawProperties
java.lang.Object
org.apache.poi.hwmf.draw.HwmfDrawProperties
org.apache.poi.hemf.draw.HemfDrawProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Path2DPath for path bracket operationsprotected booleanFields inherited from class org.apache.poi.hwmf.draw.HwmfDrawProperties
clip, transform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLeftTransform(AffineTransform transform) voidaddRightTransform(AffineTransform transform) voidgetPath()booleanUse 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) voidUn-/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 Details
-
path
Path for path bracket operations -
usePathBracket
protected boolean usePathBracket
-
-
Constructor Details
-
HemfDrawProperties
public HemfDrawProperties() -
HemfDrawProperties
-
-
Method Details
-
getPath
- Returns:
- the current path used for bracket operations
-
setPath
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
-
setEmfPlusBrushHatch
-
getEmfPlusImage
-
setEmfPlusImage
-
addLeftTransform
-
addRightTransform
-
clearTransform
public void clearTransform() -
getBrushRect
-
setBrushRect
-
getBrushColorsV
-
setBrushColorsV
-
getBrushColorsH
-
setBrushColorsH
-