public class SolidBrush extends Brush
Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.
| Constructor and Description |
|---|
SolidBrush(Color color)
Initializes a new instance of the
SolidBrush class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Creates an exact copy of this
SolidBrush object. |
Color |
getColor()
Gets the color of this SolidBrush object.
|
void |
setColor(Color value)
Sets the color of this SolidBrush object.
|
public SolidBrush(Color color)
Initializes a new instance of the SolidBrush class.
color - A Color structure that represents the color of this brush.public final Color getColor()
Gets the color of this SolidBrush object.
public final void setColor(Color value)
Sets the color of this SolidBrush object.
value - the color of this SolidBrush object.public Object deepClone()
Creates an exact copy of this SolidBrush object.
deepClone in class BrushSolidBrush object that this method creates.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.