public class PaintParametersObject extends Object implements PaintParameters
| Modifier and Type | Field and Description |
|---|---|
int |
anchor |
Color |
borderColor |
int |
borderFlagsToClear |
int |
borderFlagsToSet |
int |
drawableOptions |
Brush |
fill |
FontChange |
fontChange |
IIcon |
icon |
Drawable |
image |
Insets |
insets |
Color |
textColor |
| Constructor and Description |
|---|
PaintParametersObject() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAnchor(int defaultAnchor) |
Color |
getBorderColor(Color defaultColor) |
int |
getBorderStyle(int defaultBorderStyle) |
PaintParametersObject |
getCopy() |
Drawable |
getDrawable(int forWidth,
int forHeight,
Color foreground,
Color background) |
int |
getDrawableOptions() |
Brush |
getFill(Brush defaultFill) |
Font |
getFont(Font defaultFont) |
Insets |
getInsets(Insets defaultInsets) |
Color |
getTextColor(Color defaultColor) |
PaintParametersObject |
setBorder(int flags,
Color color) |
PaintParametersObject |
setBrush(Brush other) |
PaintParametersObject |
setFadeColor(Color start,
int direction,
int percent) |
PaintParametersObject |
setFillColor(Color c) |
PaintParametersObject |
setText(FontChange fc,
Color textColor) |
public Insets insets
public int anchor
public Brush fill
public FontChange fontChange
public int borderFlagsToClear
public int borderFlagsToSet
public Color borderColor
public Color textColor
public Drawable image
public IIcon icon
public int drawableOptions
public PaintParametersObject getCopy()
public PaintParametersObject setText(FontChange fc, Color textColor)
public PaintParametersObject setFillColor(Color c)
public PaintParametersObject setFadeColor(Color start, int direction, int percent)
public PaintParametersObject setBrush(Brush other)
public PaintParametersObject setBorder(int flags, Color color)
public Brush getFill(Brush defaultFill)
getFill in interface PaintParameterspublic Font getFont(Font defaultFont)
getFont in interface PaintParameterspublic int getBorderStyle(int defaultBorderStyle)
getBorderStyle in interface PaintParameterspublic Color getTextColor(Color defaultColor)
getTextColor in interface PaintParameterspublic Color getBorderColor(Color defaultColor)
getBorderColor in interface PaintParameterspublic Drawable getDrawable(int forWidth, int forHeight, Color foreground, Color background)
getDrawable in interface PaintParameterspublic int getAnchor(int defaultAnchor)
getAnchor in interface PaintParameterspublic Insets getInsets(Insets defaultInsets)
getInsets in interface PaintParameterspublic int getDrawableOptions()
getDrawableOptions in interface PaintParameters