XpsRadialGradientBrush

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush, com.aspose.xps.XpsTransformableBrush, com.aspose.xps.XpsGradientBrush

public final class XpsRadialGradientBrush extends XpsGradientBrush

Class incapsulating RadialGradientBrush property element features. This element is used to specify a radial gradient brush.

Methods

MethodDescription
getCenter()Returns the center point of the radial gradient (that is, the center of the ellipse).
setCenter(Point2D value)Sets the center point of the radial gradient (that is, the center of the ellipse).
getGradientOrigin()Returns the origin point of the radial gradient.
setGradientOrigin(Point2D value)Sets the origin point of the radial gradient.
getRadiusX()Returns the radius in the x dimension of the ellipse which defines the radial gradient.
setRadiusX(float value)Sets the radius in the x dimension of the ellipse which defines the radial gradient.
getRadiusY()Returns the radius in the y dimension of the ellipse which defines the radial gradient.
setRadiusY(float value)Sets the radius in the y dimension of the ellipse which defines the radial gradient.
deepClone()Clones this radial gradient brush.

getCenter()

public Point2D getCenter()

Returns the center point of the radial gradient (that is, the center of the ellipse).

Returns: java.awt.geom.Point2D - The center point of the radial gradient.

setCenter(Point2D value)

public void setCenter(Point2D value)

Sets the center point of the radial gradient (that is, the center of the ellipse).

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2DThe center point of the radial gradient.

getGradientOrigin()

public Point2D getGradientOrigin()

Returns the origin point of the radial gradient.

Returns: java.awt.geom.Point2D - The origin point of the radial gradient.

setGradientOrigin(Point2D value)

public void setGradientOrigin(Point2D value)

Sets the origin point of the radial gradient.

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2DThe origin point of the radial gradient.

getRadiusX()

public float getRadiusX()

Returns the radius in the x dimension of the ellipse which defines the radial gradient.

Returns: float - The radius in the x dimension of the ellipse which defines the radial gradient.

setRadiusX(float value)

public void setRadiusX(float value)

Sets the radius in the x dimension of the ellipse which defines the radial gradient.

Parameters:

ParameterTypeDescription
valuefloatThe radius in the x dimension of the ellipse which defines the radial gradient.

getRadiusY()

public float getRadiusY()

Returns the radius in the y dimension of the ellipse which defines the radial gradient.

Returns: float - The radius in the y dimension of the ellipse which defines the radial gradient.

setRadiusY(float value)

public void setRadiusY(float value)

Sets the radius in the y dimension of the ellipse which defines the radial gradient.

Parameters:

ParameterTypeDescription
valuefloatThe radius in the y dimension of the ellipse which defines the radial gradient.

deepClone()

public XpsRadialGradientBrush deepClone()

Clones this radial gradient brush.

Returns: XpsRadialGradientBrush - Clone of this radial gradient brush.