com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PatternFormat

    • 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 IPatternFormat
        Parameters:
        background - The background Color for the pattern.
        foreground - The foreground Color for the pattern.
        Returns:
        Tile BufferedImage.
      • getTileImage

        public final java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)

        Creates a tile image for the pattern fill.

        Specified by:
        getTileImage in interface IPatternFormat
        Parameters:
        styleColor - The default Color, defined in ShapeEx's StyleEx object. Fill's colors can depend on this.
        Returns:
        Tile BufferedImage.