public class SolidBrush extends Brush
Represents solid brush. It could be used instead background color property.
Constructor and Description |
---|
SolidBrush()
Initializes a new instance of the SolidBrush class with default values.
|
SolidBrush(Color color)
Initializes a new instance of the SolidBrush class.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Gets or sets color of solid brush.
|
void |
setColor(Color value)
Gets or sets color of solid brush.
|
public SolidBrush()
Initializes a new instance of the SolidBrush class with default values.
public SolidBrush(Color color)
Initializes a new instance of the SolidBrush class.
color
- Color of solid brush.