SolidBrush
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.domain.extensions.Brush
public class SolidBrush extends Brush
Represents solid brush. It could be used instead background color property.
| Constructor | Description |
|---|---|
| SolidBrush() | Initializes a new instance of the SolidBrush class with default values. |
| SolidBrush(Color color) | Initializes a new instance of the SolidBrush class. |
| SolidBrush(String color) | Initializes a new instance of the SolidBrush class. |
| Method | Description |
|---|---|
| getColor() | Gets or sets color of solid brush. |
| setColor(Color value) | Gets or sets color of solid brush. |
| setColor(String 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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | java.awt.Color | Color of solid brush. |
public SolidBrush(String color)
Initializes a new instance of the SolidBrush class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | java.lang.String | Color of solid brush. |
public final Color getColor()
Gets or sets color of solid brush.
Returns: java.awt.Color
public final void setColor(Color value)
Gets or sets color of solid brush.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.awt.Color |
public final void setColor(String value)
Gets or sets color of solid brush.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.