com.aspose.pdf.drawing

Class GradientRadialShading



  • public class GradientRadialShading
    extends PatternColorSpace

    Represents gradient radial shading type.

    • Constructor Detail

      • GradientRadialShading

        public GradientRadialShading()

        Initializes a new instance of the GradientRadialShading class.

      • GradientRadialShading

        public GradientRadialShading(Color startColor,
                                     Color endColor)

        Initializes a new instance of the GradientRadialShading class.

        Parameters:
        startColor - The starting circle color.
        endColor - The ending circle color.
    • Method Detail

      • getStart

        public Point getStart()

        Gets or sets starting circle center point.

        Returns:
        Point instance
      • setStart

        public void setStart(Point value)

        Gets or sets starting circle center point.

        Parameters:
        value - Point instance
      • getEnd

        public Point getEnd()

        Gets or sets ending circle center point.

        Returns:
        Point instance
      • setEnd

        public void setEnd(Point value)

        Gets or sets ending circle center point.

        Parameters:
        value - Point instance
      • getStartingRadius

        public double getStartingRadius()

        Gets or sets starting circle radius.

        Returns:
        double value
      • setStartingRadius

        public void setStartingRadius(double value)

        Gets or sets starting circle radius.

        Parameters:
        value - double value
      • getEndingRadius

        public double getEndingRadius()

        Gets or sets ending circle radius.

        Returns:
        double value
      • setEndingRadius

        public void setEndingRadius(double value)

        Gets or sets ending circle radius.

        Parameters:
        value - double value
      • getStartColor

        public Color getStartColor()

        Gets or sets start color.

        Returns:
        Color instance
      • setStartColor

        public void setStartColor(Color value)

        Gets or sets start color.

        Parameters:
        value - Color instance
      • getEndColor

        public Color getEndColor()

        Gets or sets end color.

        Returns:
        Color instance
      • setEndColor

        public void setEndColor(Color value)

        Gets or sets end color.

        Parameters:
        value - Color instance