com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PatternFormatEffectiveData

  • java.lang.Object
    • com.aspose.slides.PatternFormatEffectiveData
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Compares with specified object.
      java.awt.Color getBackColor()
      Returns the background pattern color.
      java.awt.Color getForeColor()
      Returns the foreground pattern color.
      byte getPatternStyle()
      Returns the pattern style.
      java.awt.image.BufferedImage getTileImage(java.awt.Color background, java.awt.Color foreground)
      Creates a tile image for the pattern fill with a specified colors.
      int hashCode()
      Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTileImage

        public final java.awt.image.BufferedImage getTileImage(java.awt.Color background,
                                                               java.awt.Color foreground)

        Creates a tile image for the pattern fill with a specified colors.

        Specified by:
        getTileImage in interface IPatternFormatEffectiveData
        Parameters:
        background - The background Color for the pattern.
        foreground - The foreground Color for the pattern.
        Returns:
        Tile BufferedImage.
      • equals

        public boolean equals(java.lang.Object obj)

        Compares with specified object.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - Object to compare.
        Returns:
        True if objects are equal, otherwise false.
      • hashCode

        public int hashCode()

        Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        23454


        Overriden to make compiler happy. Always returns constant because object is mutable.