com.aspose.xps

Class XpsRadialGradientBrush

  • All Implemented Interfaces:
    Iterable<XpsElement>


    public final class XpsRadialGradientBrush
    extends XpsGradientBrush

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

    • Method Detail

      • getCenter

        public Point2D getCenter()

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

        Returns:
        The center point of the radial gradient.
      • setCenter

        public void setCenter(Point2D value)

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

        Parameters:
        value - The center point of the radial gradient.
      • getGradientOrigin

        public Point2D getGradientOrigin()

        Returns the origin point of the radial gradient.

        Returns:
        The origin point of the radial gradient.
      • setGradientOrigin

        public void setGradientOrigin(Point2D value)

        Sets the origin point of the radial gradient.

        Parameters:
        value - The 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:
        The radius in the x dimension of the ellipse which defines the radial gradient.
      • setRadiusX

        public void setRadiusX(float value)

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

        Parameters:
        value - The 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:
        The radius in the y dimension of the ellipse which defines the radial gradient.
      • setRadiusY

        public void setRadiusY(float value)

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

        Parameters:
        value - The radius in the y dimension of the ellipse which defines the radial gradient.
      • deepClone

        public XpsRadialGradientBrush deepClone()

        Clones this radial gradient brush.

        Returns:
        Clone of this radial gradient brush.