org.jfree.pixie.wmf
Class MfLogBrush
java.lang.Object
org.jfree.pixie.wmf.MfLogBrush
- All Implemented Interfaces:
- WmfObject
- public class MfLogBrush
- extends java.lang.Object
- implements WmfObject
A Windows metafile logical brush object.
Constructor Summary |
MfLogBrush()
The default brush for a new DC. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLOR_FULL_ALPHA
public static final int COLOR_FULL_ALPHA
- See Also:
- Constant Field Values
BS_SOLID
public static final int BS_SOLID
- See Also:
- Constant Field Values
BS_NULL
public static final int BS_NULL
- See Also:
- Constant Field Values
BS_HATCHED
public static final int BS_HATCHED
- See Also:
- Constant Field Values
BS_PATTERN
public static final int BS_PATTERN
- See Also:
- Constant Field Values
BS_INDEXED
public static final int BS_INDEXED
- See Also:
- Constant Field Values
BS_DIBPATTERN
public static final int BS_DIBPATTERN
- See Also:
- Constant Field Values
HS_HORIZONTAL
public static final int HS_HORIZONTAL
- See Also:
- Constant Field Values
HS_VERTICAL
public static final int HS_VERTICAL
- See Also:
- Constant Field Values
HS_FDIAGONAL
public static final int HS_FDIAGONAL
- See Also:
- Constant Field Values
HS_BDIAGONAL
public static final int HS_BDIAGONAL
- See Also:
- Constant Field Values
HS_CROSS
public static final int HS_CROSS
- See Also:
- Constant Field Values
HS_DIAGCROSS
public static final int HS_DIAGCROSS
- See Also:
- Constant Field Values
MfLogBrush
public MfLogBrush()
- The default brush for a new DC.
isVisible
public boolean isVisible()
getType
public int getType()
- Specified by:
getType
in interface WmfObject
getStyle
public int getStyle()
- The style of this brush.
setStyle
public void setStyle(int style)
getColor
public java.awt.Color getColor()
- Return the color of the current brush, or null.
setColor
public void setColor(java.awt.Color color)
getHatchedStyle
public int getHatchedStyle()
- The hatch style of this brush.
setHatchedStyle
public void setHatchedStyle(int hstyle)
getPaint
public java.awt.Paint getPaint()
transform
public int[] transform(boolean[] data)
setBackgroundColor
public void setBackgroundColor(java.awt.Color bg)
getBackgroundColor
public java.awt.Color getBackgroundColor()
setBitmap
public void setBitmap(java.awt.image.BufferedImage bitmap)