Package org.apache.poi.hwmf.record
Interface HwmfFill.HwmfImageRecord
- All Known Implementing Classes:
HemfFill.EmfBitBlt,HemfFill.EmfStretchBlt,HemfFill.EmfStretchDiBits,HemfMisc.EmfCreateDibPatternBrushPt,HwmfFill.WmfDibBitBlt,HwmfFill.WmfDibStretchBlt,HwmfFill.WmfSetDibToDev,HwmfFill.WmfStretchDib,HwmfMisc.WmfDibCreatePatternBrush
- Enclosing class:
HwmfFill
public static interface HwmfFill.HwmfImageRecord
A record which contains an image (to be extracted)
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]default BufferedImagegetImage()Provide an image using the fore-/background color, in case of a 1-bit pattern
-
Method Details
-
getImage
-
getImage
Provide an image using the fore-/background color, in case of a 1-bit pattern- Parameters:
foreground- the foreground colorbackground- the background colorhasAlpha- if true, the background color is rendered transparent - seeHwmfMisc.WmfSetBkMode.HwmfBkMode- Returns:
- the image
- Since:
- POI 4.1.1
-
getBMPData
byte[] getBMPData()- Returns:
- the raw BMP data
- Since:
- POI 4.1.1
- See Also:
-