GradientAxialShading
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.drawing.PatternColorSpace
public class GradientAxialShading extends PatternColorSpace
Represents gradient axial shading class.
Constructors
Constructor | Description |
---|---|
GradientAxialShading() | Initializes a new instance of the GradientAxialShading class. |
GradientAxialShading(Color startColor, Color endColor) | Initializes a new instance of the GradientAxialShading class. |
Methods
Method | Description |
---|---|
getStart() | Gets start point. |
setStart(Point value) | Sets start point. |
getEnd() | Gets end point. |
setEnd(Point value) | Sets end point. |
getStartColor() | Gets start color. |
setStartColor(Color value) | Sets start color. |
getEndColor() | Gets end color. |
setEndColor(Color value) | Sets end color. |
GradientAxialShading()
public GradientAxialShading()
Initializes a new instance of the GradientAxialShading class.
GradientAxialShading(Color startColor, Color endColor)
public GradientAxialShading(Color startColor, Color endColor)
Initializes a new instance of the GradientAxialShading class.
Parameters:
Parameter | Type | Description |
---|---|---|
startColor | Color | The start point. |
endColor | Color | The end point. |
getStart()
public Point getStart()
Gets start point.
Returns: Point - Point object
setStart(Point value)
public void setStart(Point value)
Sets start point.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point | Point object |
getEnd()
public Point getEnd()
Gets end point.
Returns: Point - Point object
setEnd(Point value)
public void setEnd(Point value)
Sets end point.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point | Point object |
getStartColor()
public Color getStartColor()
Gets start color.
Returns: Color - com.aspose.pdf.Color object
setStartColor(Color value)
public void setStartColor(Color value)
Sets start color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | com.aspose.pdf.Color object |
getEndColor()
public Color getEndColor()
Gets end color.
Returns: Color - com.aspose.pdf.Color object
setEndColor(Color value)
public void setEndColor(Color value)
Sets end color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | com.aspose.pdf.Color object |