Packages

 

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

Class CmxFillStyle

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


  • public class CmxFillStyle
    extends Object

    Fill style for shapes.

    • Constructor Detail

      • CmxFillStyle

        public CmxFillStyle()
    • Method Detail

      • getFillType

        public final int getFillType()

        Gets the type of the fill.

        Returns:
        the type of the fill.
      • setFillType

        public final void setFillType(int value)

        Sets the type of the fill.

        Parameters:
        value - the type of the fill.
      • getColor1

        public final CmxColor getColor1()

        Gets the primary color.

        Returns:
        the primary color.
      • setColor1

        public final void setColor1(CmxColor value)

        Sets the primary color.

        Parameters:
        value - the primary color.
      • getColor2

        public final CmxColor getColor2()

        Gets the secondary color.

        Returns:
        the secondary color.
      • setColor2

        public final void setColor2(CmxColor value)

        Sets the secondary color.

        Parameters:
        value - the secondary color.
      • getGradient

        public final CmxGradient getGradient()

        Gets the gradient info.

        Returns:
        the gradient info.
      • setGradient

        public final void setGradient(CmxGradient value)

        Sets the gradient info.

        Parameters:
        value - the gradient info.
      • getImageFill

        public final CmxImageFill getImageFill()

        Gets the image fill info.

        Returns:
        the image fill info.
      • setImageFill

        public final void setImageFill(CmxImageFill value)

        Sets the image fill info.

        Parameters:
        value - the image fill info.
      • getTransform

        public final Matrix getTransform()

        Gets the fill transform.

        Returns:
        the fill transform.
      • setTransform

        public final void setTransform(Matrix value)

        Sets the fill transform.

        Parameters:
        value - the fill transform.
      • toString

        public String toString()

        Returns a String that represents this instance.

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