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:
        the type.
      • setType

        public final void setType(int value)

        Sets the type.

        Parameters:
        value - the type.
      • getMode

        public final int getMode()

        Gets the mode.

        Returns:
        the mode.
      • setMode

        public final void setMode(int value)

        Sets the mode.

        Parameters:
        value - the mode.
      • getAngle

        public final double getAngle()

        Gets the angle.

        Returns:
        the angle.
      • setAngle

        public final void setAngle(double value)

        Sets the angle.

        Parameters:
        value - the angle.
      • getMidPoint

        public final double getMidPoint()

        Gets the mid point.

        Returns:
        the mid point.
      • setMidPoint

        public final void setMidPoint(double value)

        Sets the mid point.

        Parameters:
        value - the mid point.
      • getEdgeOffset

        public final int getEdgeOffset()

        Gets the edge offset.

        Returns:
        the edge offset.
      • setEdgeOffset

        public final void setEdgeOffset(int value)

        Sets the edge offset.

        Parameters:
        value - the edge offset.
      • getCenterXOffset

        public final int getCenterXOffset()

        Gets the center x offset.

        Returns:
        the center x offset.
      • setCenterXOffset

        public final void setCenterXOffset(int value)

        Sets the center x offset.

        Parameters:
        value - the center x offset.
      • getCenterYOffset

        public final int getCenterYOffset()

        Gets the center y offset.

        Returns:
        the center y offset.
      • setCenterYOffset

        public final void setCenterYOffset(int value)

        Sets the center y offset.

        Parameters:
        value - the center y offset.
      • setStops

        public final void setStops(List<CdrGradientStop> value)

        Sets the stops.

        Parameters:
        value - the stops.