Class MfLogBrush
- java.lang.Object
-
- org.pentaho.reporting.libraries.pixie.wmf.MfLogBrush
-
-
Field Summary
Fields Modifier and Type Field Description static int
BS_DIBPATTERN
static int
BS_HATCHED
static int
BS_INDEXED
static int
BS_NULL
static int
BS_PATTERN
static int
BS_SOLID
static int
COLOR_FULL_ALPHA
static int
HS_BDIAGONAL
static int
HS_CROSS
static int
HS_DIAGCROSS
static int
HS_FDIAGONAL
static int
HS_HORIZONTAL
static int
HS_VERTICAL
-
Fields inherited from interface org.pentaho.reporting.libraries.pixie.wmf.WmfObject
OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
-
-
Constructor Summary
Constructors Constructor Description MfLogBrush()
The default brush for a new DC.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBackgroundColor()
BufferedImage
getBitmap()
Color
getColor()
Return the color of the current brush, or null.int
getHatchedStyle()
The hatch style of this brush.Paint
getPaint()
int
getStyle()
The style of this brush.int
getType()
boolean
isVisible()
void
setBackgroundColor(Color bg)
void
setBitmap(BufferedImage bitmap)
void
setColor(Color color)
void
setHatchedStyle(int hstyle)
void
setStyle(int style)
int[]
transform(boolean[] data)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
isVisible
public boolean isVisible()
-
getStyle
public int getStyle()
The style of this brush.
-
setStyle
public void setStyle(int style)
-
getColor
public Color getColor()
Return the color of the current brush, or null.
-
setColor
public void setColor(Color color)
-
getHatchedStyle
public int getHatchedStyle()
The hatch style of this brush.
-
setHatchedStyle
public void setHatchedStyle(int hstyle)
-
getPaint
public Paint getPaint()
-
transform
public int[] transform(boolean[] data)
-
setBackgroundColor
public void setBackgroundColor(Color bg)
-
getBackgroundColor
public Color getBackgroundColor()
-
setBitmap
public void setBitmap(BufferedImage bitmap)
-
getBitmap
public BufferedImage getBitmap()
-
-