SolidBrush

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.

Constructors

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.

Methods

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.

SolidBrush()

public SolidBrush()

Initializes a new instance of the SolidBrush class with default values.

SolidBrush(Color color)

public SolidBrush(Color color)

Initializes a new instance of the SolidBrush class.

Parameters:

Parameter Type Description
color java.awt.Color Color of solid brush.

SolidBrush(String color)

public SolidBrush(String color)

Initializes a new instance of the SolidBrush class.

Parameters:

Parameter Type Description
color java.lang.String Color of solid brush.

getColor()

public final Color getColor()

Gets or sets color of solid brush.

Returns: java.awt.Color

setColor(Color value)

public final void setColor(Color value)

Gets or sets color of solid brush.

Parameters:

Parameter Type Description
value java.awt.Color

setColor(String value)

public final void setColor(String value)

Gets or sets color of solid brush.

Parameters:

Parameter Type Description
value java.lang.String