org.jfree.pixie.wmf
Class MfLogBrush
java.lang.Object
org.jfree.pixie.wmf.MfLogBrush
- WmfObject
public class MfLogBrush
extends java.lang.Object
A Windows metafile logical brush object.
BS_DIBPATTERN
public static final int BS_DIBPATTERN
BS_HATCHED
public static final int BS_HATCHED
BS_INDEXED
public static final int BS_INDEXED
BS_NULL
public static final int BS_NULL
BS_PATTERN
public static final int BS_PATTERN
BS_SOLID
public static final int BS_SOLID
COLOR_FULL_ALPHA
public static final int COLOR_FULL_ALPHA
HS_BDIAGONAL
public static final int HS_BDIAGONAL
HS_CROSS
public static final int HS_CROSS
HS_DIAGCROSS
public static final int HS_DIAGCROSS
HS_FDIAGONAL
public static final int HS_FDIAGONAL
HS_HORIZONTAL
public static final int HS_HORIZONTAL
HS_VERTICAL
public static final int HS_VERTICAL
MfLogBrush
public MfLogBrush()
The default brush for a new DC.
getBackgroundColor
public Color getBackgroundColor()
getColor
public Color getColor()
Return the color of the current brush, or null.
getHatchedStyle
public int getHatchedStyle()
The hatch style of this brush.
getPaint
public Paint getPaint()
getStyle
public int getStyle()
The style of this brush.
isVisible
public boolean isVisible()
setBackgroundColor
public void setBackgroundColor(Color bg)
setBitmap
public void setBitmap(BufferedImage bitmap)
setColor
public void setColor(Color color)
setHatchedStyle
public void setHatchedStyle(int hstyle)
setStyle
public void setStyle(int style)
transform
public int[] transform(boolean[] data)