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(Integer background, Integer 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 Integer getForeColor()

Returns the foreground pattern color. Read-only java.lang.Integer.

Returns: java.lang.Integer

getBackColor()

public abstract Integer getBackColor()

Returns the background pattern color. Read-only java.lang.Integer.

Returns: java.lang.Integer

getTileImage(Integer background, Integer foreground)

public abstract Bitmap getTileImage(Integer background, Integer foreground)

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

Parameters:

ParameterTypeDescription
backgroundjava.lang.IntegerThe background java.lang.Integer for the pattern.
foregroundjava.lang.IntegerThe foreground java.lang.Integer for the pattern.

Returns: android.graphics.Bitmap - Tile android.graphics.Bitmap.