Class SolidBrushStyle
Defines brush style which allows to fill shapes with solid color
Inheritance
SolidBrushStyle
Namespace:
Assembly: .dll
Syntax
public class SolidBrushStyle extends BrushStyle
Constructors
SolidBrushStyle(int color)
Declaration
public SolidBrushStyle(int color)
Parameters
Type |
Name |
Description |
int |
color |
The fill color for this brush style
|
Fields
color
Declaration
Field Value
Methods
equals(Object o)
Declaration
public boolean equals(Object o)
Parameters
Type |
Name |
Description |
Object |
o |
|
Returns
Overrides
getColor()
Gets the color for this PenStyle
Declaration
Returns
Overrides
hashCode()
Declaration
Returns
Overrides
initPaint(Paint paint, float opacity, int x, int y, int width, int height)
Init a Paint instance with values provided by this brush style
Declaration
public void initPaint(Paint paint, float opacity, int x, int y, int width, int height)
Parameters
Type |
Name |
Description |
android.graphics.Paint |
paint |
|
float |
opacity |
|
int |
x |
|
int |
y |
|
int |
width |
|
int |
height |
|
Overrides
isVisible()
Gets whether this style is visible
Declaration
public boolean isVisible()
Returns
Overrides