XpsLinearGradientBrush
Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush, com.aspose.xps.XpsTransformableBrush, com.aspose.xps.XpsGradientBrush
public final class XpsLinearGradientBrush extends XpsGradientBrush
Class incapsulating LinearGradientBrush property element features. This element is used to specify a linear gradient brush along a vector.
Methods
Method | Description |
---|---|
getStartPoint() | Returns the starting point of the linear gradient. |
setStartPoint(Point2D value) | Sets the starting point of the linear gradient. |
getEndPoint() | Returns the end point of the linear gradient. |
setEndPoint(Point2D value) | Returns/sets the end point of the linear gradient. |
deepClone() | Clones this linear gradient brush. |
getStartPoint()
public Point2D getStartPoint()
Returns the starting point of the linear gradient.
Returns: java.awt.geom.Point2D - The starting point of the linear gradient.
setStartPoint(Point2D value)
public void setStartPoint(Point2D value)
Sets the starting point of the linear gradient.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D | The starting point of the linear gradient. |
getEndPoint()
public Point2D getEndPoint()
Returns the end point of the linear gradient.
Returns: java.awt.geom.Point2D - The end point of the linear gradient.
setEndPoint(Point2D value)
public void setEndPoint(Point2D value)
Returns/sets the end point of the linear gradient.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D | The end point of the linear gradient. |
deepClone()
public XpsLinearGradientBrush deepClone()
Clones this linear gradient brush.
Returns: XpsLinearGradientBrush - Clone of this linear gradient brush.