Class MfLogBrush
- java.lang.Object
 - 
- org.pentaho.reporting.libraries.pixie.wmf.MfLogBrush
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intBS_DIBPATTERNstatic intBS_HATCHEDstatic intBS_INDEXEDstatic intBS_NULLstatic intBS_PATTERNstatic intBS_SOLIDstatic intCOLOR_FULL_ALPHAstatic intHS_BDIAGONALstatic intHS_CROSSstatic intHS_DIAGCROSSstatic intHS_FDIAGONALstatic intHS_HORIZONTALstatic intHS_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 ColorgetBackgroundColor()BufferedImagegetBitmap()ColorgetColor()Return the color of the current brush, or null.intgetHatchedStyle()The hatch style of this brush.PaintgetPaint()intgetStyle()The style of this brush.intgetType()booleanisVisible()voidsetBackgroundColor(Color bg)voidsetBitmap(BufferedImage bitmap)voidsetColor(Color color)voidsetHatchedStyle(int hstyle)voidsetStyle(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()
 
 - 
 
 -