com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IPatternFormatEffectiveData

  • All Known Implementing Classes:
    PatternFormatEffectiveData


    public interface IPatternFormatEffectiveData

    Immutable object which represents a pattern to fill a shape.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.awt.Color getBackColor()
      Returns the background pattern color.
      java.awt.Color getForeColor()
      Returns the foreground pattern color.
      byte getPatternStyle()
      Returns or sets 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.
    • Method Detail

      • getPatternStyle

        byte getPatternStyle()

        Returns or sets the pattern style. Read-only PatternStyle.

      • getForeColor

        java.awt.Color getForeColor()

        Returns the foreground pattern color. Read-only Color.

      • getBackColor

        java.awt.Color getBackColor()

        Returns the background pattern color. Read-only Color.

      • 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.