Modifier and Type | Field and 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 |
OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
Constructor and Description |
---|
MfLogBrush()
The default brush for a new DC.
|
Modifier and Type | Method and 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) |
public static final int COLOR_FULL_ALPHA
public static final int BS_SOLID
public static final int BS_NULL
public static final int BS_HATCHED
public static final int BS_PATTERN
public static final int BS_INDEXED
public static final int BS_DIBPATTERN
public static final int HS_HORIZONTAL
public static final int HS_VERTICAL
public static final int HS_FDIAGONAL
public static final int HS_BDIAGONAL
public static final int HS_CROSS
public static final int HS_DIAGCROSS
public boolean isVisible()
public int getStyle()
public void setStyle(int style)
public Color getColor()
public void setColor(Color color)
public int getHatchedStyle()
public void setHatchedStyle(int hstyle)
public Paint getPaint()
public int[] transform(boolean[] data)
public void setBackgroundColor(Color bg)
public Color getBackgroundColor()
public void setBitmap(BufferedImage bitmap)
public BufferedImage getBitmap()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.