public static interface HwmfFill.HwmfImageRecord
Modifier and Type | Method and Description |
---|---|
byte[] |
getBMPData() |
default java.awt.image.BufferedImage |
getImage() |
java.awt.image.BufferedImage |
getImage(java.awt.Color foreground, java.awt.Color background, boolean hasAlpha)
Provide an image using the fore-/background color, in case of a 1-bit pattern
(在 1 位模式的情况下,使用前/背景颜色提供图像)
|
default java.awt.image.BufferedImage getImage()
java.awt.image.BufferedImage getImage(java.awt.Color foreground, java.awt.Color background, boolean hasAlpha)
foreground
- the foreground color
(foreground - 前景色)
background
- the background color
(背景 - 背景颜色)
hasAlpha
- if true, the background color is rendered transparent - see
HwmfMisc.WmfSetBkMode.HwmfBkMode
(hasAlpha - 如果为 true,则背景颜色呈现为透明 - 参见 HwmfMisc.WmfSetBkMode.HwmfBkMode)
byte[] getBMPData()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.