com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IPatternFormat

  • All Known Implementing Classes:
    PatternFormat


    public interface IPatternFormat

    Represents a pattern to fill a shape.

    • Method Detail

      • getPatternStyle

        byte getPatternStyle()

        Returns or sets the pattern style. Read/write PatternStyle.

      • setPatternStyle

        void setPatternStyle(byte value)

        Returns or sets the pattern style. Read/write PatternStyle.

      • getTileImage

        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.

        Parameters:
        background - The background Color for the pattern.
        foreground - The foreground Color for the pattern.
        Returns:
        Tile BufferedImage.
      • getTileImage

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

        Creates a tile image for the pattern fill.

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