public final class XpsRadialGradientBrush extends XpsGradientBrush
Class incapsulating RadialGradientBrush property element features. This element is used to specify a radial gradient brush.
Modifier and Type | Method and Description |
---|---|
XpsRadialGradientBrush |
deepClone()
Clones this radial gradient brush.
|
Point2D |
getCenter()
Returns the center point of the radial
gradient (that is, the center of the ellipse).
|
Point2D |
getGradientOrigin()
Returns the origin point of the radial gradient.
|
float |
getRadiusX()
Returns the radius in the x dimension of the ellipse which defines the radial gradient.
|
float |
getRadiusY()
Returns the radius in the y dimension of the ellipse which defines the radial gradient.
|
void |
setCenter(Point2D value)
Sets the center point of the radial
gradient (that is, the center of the ellipse).
|
void |
setGradientOrigin(Point2D value)
Sets the origin point of the radial gradient.
|
void |
setRadiusX(float value)
Sets the radius in the x dimension of the ellipse which defines the radial gradient.
|
void |
setRadiusY(float value)
Sets the radius in the y dimension of the ellipse which defines the radial 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 getCenter()
Returns the center point of the radial gradient (that is, the center of the ellipse).
public void setCenter(Point2D value)
Sets the center point of the radial gradient (that is, the center of the ellipse).
value
- The center point of the radial gradient.public Point2D getGradientOrigin()
Returns the origin point of the radial gradient.
public void setGradientOrigin(Point2D value)
Sets the origin point of the radial gradient.
value
- The origin point of the radial gradient.public float getRadiusX()
Returns the radius in the x dimension of the ellipse which defines the radial gradient.
public void setRadiusX(float value)
Sets the radius in the x dimension of the ellipse which defines the radial gradient.
value
- The radius in the x dimension of the ellipse which defines the radial gradient.public float getRadiusY()
Returns the radius in the y dimension of the ellipse which defines the radial gradient.
public void setRadiusY(float value)
Sets the radius in the y dimension of the ellipse which defines the radial gradient.
value
- The radius in the y dimension of the ellipse which defines the radial gradient.public XpsRadialGradientBrush deepClone()
Clones this radial gradient brush.