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.
| Modifier and Type | Method and Description |
|---|---|
XpsLinearGradientBrush |
deepClone()
Clones this linear gradient brush.
|
Point2D |
getEndPoint()
Returns the end point of the linear gradient.
|
Point2D |
getStartPoint()
Returns the starting point of the linear gradient.
|
void |
setEndPoint(Point2D value)
Returns/sets the end point of the linear gradient.
|
void |
setStartPoint(Point2D value)
Sets the starting point of the linear gradient.
|
getColorInterpolationMode, getGradientStops, getSpreadMethod, setColorInterpolationMode, setGradientStops, setSpreadMethodgetTransform, setTransformgetOpacity, setOpacitypublic Point2D getStartPoint()
Returns the starting point of the linear gradient.
public void setStartPoint(Point2D value)
Sets the starting point of the linear gradient.
value - The starting point of the linear gradient.public Point2D getEndPoint()
Returns the end point of the linear gradient.
public void setEndPoint(Point2D value)
Returns/sets the end point of the linear gradient.
value - The end point of the linear gradient.public XpsLinearGradientBrush deepClone()
Clones this linear gradient brush.
Copyright © 2025 Aspose. All Rights Reserved.