Packages

 

com.aspose.imaging.fileformats.cmx.objectmodel.styles

Class CmxGradient

  • java.lang.Object
    • com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxGradient


  • public class CmxGradient
    extends Object

    Represents a gradient info.

    • Constructor Detail

      • CmxGradient

        public CmxGradient()
    • Method Detail

      • getAngle

        public final float getAngle()

        Gets the angle.

        Returns:
        the angle.
      • setAngle

        public final void setAngle(float value)

        Sets the angle.

        Parameters:
        value - the angle.
      • getCenterXOffset

        public final long getCenterXOffset()

        Gets the center x offset.

        Returns:
        the center x offset.
      • setCenterXOffset

        public final void setCenterXOffset(long value)

        Sets the center x offset.

        Parameters:
        value - the center x offset.
      • getCenterYOffset

        public final long getCenterYOffset()

        Gets the center y offset.

        Returns:
        the center y offset.
      • setCenterYOffset

        public final void setCenterYOffset(long value)

        Sets the center y offset.

        Parameters:
        value - the center y offset.
      • getColors

        public final CmxColor[] getColors()

        Gets the colors.

        Returns:
        the colors.
      • setColors

        public final void setColors(CmxColor[] value)

        Sets the colors.

        Parameters:
        value - the colors.
      • 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.
      • 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.
      • getOffsets

        public final float[] getOffsets()

        Gets the offsets.

        Returns:
        the offsets.
      • setOffsets

        public final void setOffsets(float[] value)

        Sets the offsets.

        Parameters:
        value - the offsets.
      • getRateMethod

        public final int getRateMethod()

        Gets the rate method.

        Returns:
        the rate method.
      • setRateMethod

        public final void setRateMethod(int value)

        Sets the rate method.

        Parameters:
        value - the rate method.
      • getRateValue

        public final int getRateValue()

        Gets the rate value.

        Returns:
        the rate value.
      • setRateValue

        public final void setRateValue(int value)

        Sets the rate value.

        Parameters:
        value - the rate value.
      • getScreen

        public final int getScreen()

        Gets the screen.

        Returns:
        the screen.
      • setScreen

        public final void setScreen(int value)

        Sets the screen.

        Parameters:
        value - the screen.
      • getSteps

        public final int getSteps()

        Gets the steps.

        Returns:
        the steps.
      • setSteps

        public final void setSteps(int value)

        Sets the steps.

        Parameters:
        value - the steps.
      • 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.
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A String that represents this instance.