RadialGradientBrush
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.signature.domain.extensions.Brush
public class RadialGradientBrush extends Brush
Represents radial gradient brush.
Constructors
Constructor | Description |
---|---|
RadialGradientBrush() | Initializes a new instance of the RadialGradientBrush class with default values. |
RadialGradientBrush(Color innerColor, Color outerColor) | Initializes a new instance of the RadialGradientBrush class. |
RadialGradientBrush(String innerColor, String outerColor) | Initializes a new instance of the RadialGradientBrush class. |
Methods
Method | Description |
---|---|
getInnerColor() | Gets or sets inner gradient color. |
setInnerColor(Color value) | Gets or sets inner gradient color. |
setInnerColor(String value) | Gets or sets inner gradient color. |
getOuterColor() | Gets or sets outer gradient color. |
setOuterColor(Color value) | Gets or sets outer gradient color. |
setOuterColor(String value) | Gets or sets outer gradient color. |
RadialGradientBrush()
public RadialGradientBrush()
Initializes a new instance of the RadialGradientBrush class with default values.
RadialGradientBrush(Color innerColor, Color outerColor)
public RadialGradientBrush(Color innerColor, Color outerColor)
Initializes a new instance of the RadialGradientBrush class.
Parameters:
Parameter | Type | Description |
---|---|---|
innerColor | java.awt.Color | Inner color. |
outerColor | java.awt.Color | Outer color. |
RadialGradientBrush(String innerColor, String outerColor)
public RadialGradientBrush(String innerColor, String outerColor)
Initializes a new instance of the RadialGradientBrush class.
Parameters:
Parameter | Type | Description |
---|---|---|
innerColor | java.lang.String | Inner color. |
outerColor | java.lang.String | Outer color. |
getInnerColor()
public final Color getInnerColor()
Gets or sets inner gradient color.
Returns: java.awt.Color
setInnerColor(Color value)
public final void setInnerColor(Color value)
Gets or sets inner gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color |
setInnerColor(String value)
public final void setInnerColor(String value)
Gets or sets inner gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getOuterColor()
public final Color getOuterColor()
Gets or sets outer gradient color.
Returns: java.awt.Color
setOuterColor(Color value)
public final void setOuterColor(Color value)
Gets or sets outer gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color |
setOuterColor(String value)
public final void setOuterColor(String value)
Gets or sets outer gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |