Packages

 

com.aspose.imaging.fileformats.opendocument.objects.brush

Class OdGradientBrush

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public class OdGradientBrush
    extends OdBrush

    The gradient fill

    • Constructor Detail

      • OdGradientBrush

        public OdGradientBrush()
    • Method Detail

      • getGradientStyle

        public final int getGradientStyle()

        Gets the gradient style.

        Returns:
        the gradient style.
      • setGradientStyle

        public final void setGradientStyle(int value)

        Sets the gradient style.

        Parameters:
        value - the gradient style.
      • getStartColor

        public final int getStartColor()

        Gets the start color.

        Returns:
        the start color.
      • setStartColor

        public final void setStartColor(int value)

        Sets the start color.

        Parameters:
        value - the start color.
      • getEndColor

        public final int getEndColor()

        Gets the end color.

        Returns:
        the end color.
      • setEndColor

        public final void setEndColor(int value)

        Sets the end color.

        Parameters:
        value - the end color.
      • 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.
      • getBrushStyle

        public int getBrushStyle()

        Gets the style.

        Specified by:
        getBrushStyle in class OdBrush
        Returns:
        the style.
      • deepClone

        public Object deepClone()

        Clone this instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Specified by:
        deepClone in class OdBrush
        Returns:
        The return new instance of source brush