IPatternFormatEffectiveData

public interface IPatternFormatEffectiveData

Immutable object which contains effective pattern filling properties.


This interface is used as a part of IFillFormatEffectiveData and ILineFillFormatEffectiveData.

Methods

MethodDescription
getPatternStyle()Returns the pattern style.
getForeColor()Returns the foreground pattern color.
getBackColor()Returns the background pattern color.
getTileImage(Color background, Color foreground)Creates a tile image for the pattern fill with a specified colors.
getTileIImage(Color background, Color foreground)Creates a tile image for the pattern fill with a specified colors.

getPatternStyle()

public abstract byte getPatternStyle()

Returns the pattern style. Read-only PatternStyle.

Returns: byte

getForeColor()

public abstract Color getForeColor()

Returns the foreground pattern color. Read-only java.awt.Color.

Returns: java.awt.Color

getBackColor()

public abstract Color getBackColor()

Returns the background pattern color. Read-only java.awt.Color.

Returns: java.awt.Color

getTileImage(Color background, Color foreground)

public abstract BufferedImage getTileImage(Color background, Color foreground)

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

Parameters:

ParameterTypeDescription
backgroundjava.awt.ColorThe background java.awt.Color for the pattern.
foregroundjava.awt.ColorThe foreground java.awt.Color for the pattern.

Returns: java.awt.image.BufferedImage - Tile java.awt.image.BufferedImage.

getTileIImage(Color background, Color foreground)

public abstract IImage getTileIImage(Color background, Color foreground)

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

Parameters:

ParameterTypeDescription
backgroundjava.awt.ColorThe background java.awt.Color for the pattern.
foregroundjava.awt.ColorThe foreground java.awt.Color for the pattern.

Returns: IImage - Tile IImage.