PatternFormat

PatternFormat class

Represents a pattern to fill a shape.

getBackColor

NameDescription
getBackColor ()Returns the background pattern color. Read-only IColorFormat.

Returns: ColorFormat


getForeColor

NameDescription
getForeColor ()Returns the foreground pattern color. Read-only IColorFormat.

Returns: ColorFormat


getPatternStyle

NameDescription
getPatternStyle ()Returns or sets the pattern style. Read/write PatternStyle.

Returns: byte


getTile

NameDescription
getTile (Color, Color)Creates a tile image for the pattern fill with a specified colors.

Parameters:

NameTypeDescription
backgroundColorThe background java.awt.Color for the pattern.
foregroundColorThe foreground java.awt.Color for the pattern.

Returns: SlidesImage


getTile

NameDescription
getTile (Color)Creates a tile image for the pattern fill.

Parameters:

NameTypeDescription
styleColorColorThe default java.awt.Color

Returns: SlidesImage


getTileImage

NameDescription
getTileImage (Color, Color)Creates a tile image for the pattern fill with a specified colors.

Parameters:

NameTypeDescription
backgroundColorThe background java.awt.Color for the pattern.
foregroundColorThe foreground java.awt.Color for the pattern.

Returns: BufferedImage


getTileImage

NameDescription
getTileImage (Color)Creates a tile image for the pattern fill.

Parameters:

NameTypeDescription
styleColorColorThe default java.awt.Color, defined in ShapeEx’s StyleEx object. Fill’s colors can depend on this.

Returns: BufferedImage


getVersion

NameDescription
getVersion ()

Returns: long


setPatternStyle

NameDescription
setPatternStyle (byte)Returns or sets the pattern style. Read/write PatternStyle.