com.aspose.pdf.drawing

Class GradientAxialShading



  • public class GradientAxialShading
    extends PatternColorSpace

    Represents gradient axial shading class.

    • Constructor Detail

      • GradientAxialShading

        public GradientAxialShading()

        Initializes a new instance of the GradientAxialShading class.

      • GradientAxialShading

        public GradientAxialShading(Color startColor,
                            Color endColor)

        Initializes a new instance of the GradientAxialShading class.

        Parameters:
        startColor - The start point.
        endColor - The end point.
    • Method Detail

      • getStart

        public Point getStart()

        Gets start point.

        Returns:
        Point object
      • setStart

        public void setStart(Point value)

        Sets start point.

        Parameters:
        value - Point object
      • getEnd

        public Point getEnd()

        Gets end point.

        Returns:
        Point object
      • setEnd

        public void setEnd(Point value)

        Sets end point.

        Parameters:
        value - Point object
      • getStartColor

        public Color getStartColor()

        Gets start color.

        Returns:
        com.aspose.pdf.Color object
      • setStartColor

        public void setStartColor(Color value)

        Sets start color.

        Parameters:
        value - com.aspose.pdf.Color object
      • getEndColor

        public Color getEndColor()

        Gets end color.

        Returns:
        com.aspose.pdf.Color object
      • setEndColor

        public void setEndColor(Color value)

        Sets end color.

        Parameters:
        value - com.aspose.pdf.Color object