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, setSpreadMethod
getTransform, setTransform
getOpacity, setOpacity
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public 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 © 2020 Aspose. All Rights Reserved.