Class MfLogBrush
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.MfLogBrush
- All Implemented Interfaces:
WmfObject
A Windows metafile logical brush object.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from interface org.pentaho.reporting.libraries.pixie.wmf.WmfObject
OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Return the color of the current brush, or null.int
The hatch style of this brush.getPaint()
int
getStyle()
The style of this brush.int
getType()
boolean
void
void
setBitmap
(BufferedImage bitmap) void
void
setHatchedStyle
(int hstyle) void
setStyle
(int style) int[]
transform
(boolean[] data)
-
Field Details
-
COLOR_FULL_ALPHA
public static final int COLOR_FULL_ALPHA- See Also:
-
BS_SOLID
public static final int BS_SOLID- See Also:
-
BS_NULL
public static final int BS_NULL- See Also:
-
BS_HATCHED
public static final int BS_HATCHED- See Also:
-
BS_PATTERN
public static final int BS_PATTERN- See Also:
-
BS_INDEXED
public static final int BS_INDEXED- See Also:
-
BS_DIBPATTERN
public static final int BS_DIBPATTERN- See Also:
-
HS_HORIZONTAL
public static final int HS_HORIZONTAL- See Also:
-
HS_VERTICAL
public static final int HS_VERTICAL- See Also:
-
HS_FDIAGONAL
public static final int HS_FDIAGONAL- See Also:
-
HS_BDIAGONAL
public static final int HS_BDIAGONAL- See Also:
-
HS_CROSS
public static final int HS_CROSS- See Also:
-
HS_DIAGCROSS
public static final int HS_DIAGCROSS- See Also:
-
-
Constructor Details
-
MfLogBrush
public MfLogBrush()The default brush for a new DC.
-
-
Method Details
-
isVisible
public boolean isVisible() -
getType
public int getType() -
getStyle
public int getStyle()The style of this brush. -
setStyle
public void setStyle(int style) -
getColor
Return the color of the current brush, or null. -
setColor
-
getHatchedStyle
public int getHatchedStyle()The hatch style of this brush. -
setHatchedStyle
public void setHatchedStyle(int hstyle) -
getPaint
-
transform
public int[] transform(boolean[] data) -
setBackgroundColor
-
getBackgroundColor
-
setBitmap
-
getBitmap
-