Packages

 

com.aspose.imaging.fileformats.cdr.types

Class CdrGradient



  • public class CdrGradient
    extends Object

    The cdr gradient

    • Constructor Detail

      • CdrGradient

        public CdrGradient()

        Initializes a new instance of the CdrGradient class.

    • Method Detail

      • getType

        public final int getType()

        Gets the type.

        Returns:
      • setType

        public final void setType(int value)

        Sets the type.

        Parameters:
        value -
      • getMode

        public final int getMode()

        Gets the mode.

        Returns:
      • setMode

        public final void setMode(int value)

        Sets the mode.

        Parameters:
        value -
      • getAngle

        public final double getAngle()

        Gets the angle.

        Returns:
      • setAngle

        public final void setAngle(double value)

        Sets the angle.

        Parameters:
        value -
      • getMidPoint

        public final double getMidPoint()

        Gets the mid point.

        Returns:
      • setMidPoint

        public final void setMidPoint(double value)

        Sets the mid point.

        Parameters:
        value -
      • getEdgeOffset

        public final int getEdgeOffset()

        Gets the edge offset.

        Returns:
      • setEdgeOffset

        public final void setEdgeOffset(int value)

        Sets the edge offset.

        Parameters:
        value -
      • getCenterXOffset

        public final int getCenterXOffset()

        Gets the center x offset.

        Returns:
      • setCenterXOffset

        public final void setCenterXOffset(int value)

        Sets the center x offset.

        Parameters:
        value -
      • getCenterYOffset

        public final int getCenterYOffset()

        Gets the center y offset.

        Returns:
      • setCenterYOffset

        public final void setCenterYOffset(int value)

        Sets the center y offset.

        Parameters:
        value -
      • setStops

        public final void setStops(List<CdrGradientStop> value)

        Sets the stops.

        Parameters:
        value -