IPatternFormatEffectiveData

public interface IPatternFormatEffectiveData

Immutable object which contains effective pattern filling properties.


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

Methods

Method Description
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.

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:

Parameter Type Description
background java.awt.Color The background java.awt.Color for the pattern.
foreground java.awt.Color The foreground java.awt.Color for the pattern.

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