GradientRadialShading
Inheritance: java.lang.Object, com.aspose.pdf.drawing.PatternColorSpace
public class GradientRadialShading extends PatternColorSpace
Represents gradient radial shading type.
Constructors
| Constructor | Description |
|---|---|
| GradientRadialShading() | Initializes a new instance of the GradientRadialShading class. |
| GradientRadialShading(Color startColor, Color endColor) | Initializes a new instance of the GradientRadialShading class. |
Methods
| Method | Description |
|---|---|
| getStart() | Gets or sets starting circle center point. |
| setStart(Point value) | Gets or sets starting circle center point. |
| getEnd() | Gets or sets ending circle center point. |
| setEnd(Point value) | Gets or sets ending circle center point. |
| getStartingRadius() | Gets or sets starting circle radius. |
| setStartingRadius(double value) | Gets or sets starting circle radius. |
| getEndingRadius() | Gets or sets ending circle radius. |
| setEndingRadius(double value) | Gets or sets ending circle radius. |
| getStartColor() | Gets or sets start color. |
| setStartColor(Color value) | Gets or sets start color. |
| getEndColor() | Gets or sets end color. |
| setEndColor(Color value) | Gets or sets end color. |
GradientRadialShading()
public GradientRadialShading()
Initializes a new instance of the GradientRadialShading class.
GradientRadialShading(Color startColor, Color endColor)
public GradientRadialShading(Color startColor, Color endColor)
Initializes a new instance of the GradientRadialShading class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| startColor | Color | The starting circle color. |
| endColor | Color | The ending circle color. |
getStart()
public Point getStart()
Gets or sets starting circle center point.
Returns: Point - Point instance
setStart(Point value)
public void setStart(Point value)
Gets or sets starting circle center point.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point | Point instance |
getEnd()
public Point getEnd()
Gets or sets ending circle center point.
Returns: Point - Point instance
setEnd(Point value)
public void setEnd(Point value)
Gets or sets ending circle center point.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point | Point instance |
getStartingRadius()
public double getStartingRadius()
Gets or sets starting circle radius.
Returns: double - double value
setStartingRadius(double value)
public void setStartingRadius(double value)
Gets or sets starting circle radius.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | double value |
getEndingRadius()
public double getEndingRadius()
Gets or sets ending circle radius.
Returns: double - double value
setEndingRadius(double value)
public void setEndingRadius(double value)
Gets or sets ending circle radius.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | double value |
getStartColor()
public Color getStartColor()
Gets or sets start color.
Returns: Color - Color instance
setStartColor(Color value)
public void setStartColor(Color value)
Gets or sets start color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Color | Color instance |
getEndColor()
public Color getEndColor()
Gets or sets end color.
Returns: Color - Color instance
setEndColor(Color value)
public void setEndColor(Color value)
Gets or sets end color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Color | Color instance |