PatternFormat
PatternFormat class
Represents a pattern to fill a shape.
getBackColor
Name | Description |
---|---|
getBackColor () | Returns the background pattern color. Read-only IColorFormat. |
Returns: ColorFormat
getForeColor
Name | Description |
---|---|
getForeColor () | Returns the foreground pattern color. Read-only IColorFormat. |
Returns: ColorFormat
getPatternStyle
Name | Description |
---|---|
getPatternStyle () | Returns or sets the pattern style. Read/write PatternStyle. |
Returns: byte
getTile
Name | Description |
---|---|
getTile (Color, Color) | Creates a tile image for the pattern fill with a specified colors. |
Parameters:
Name | Type | Description |
---|---|---|
background | Color | The background java.awt.Color for the pattern. |
foreground | Color | The foreground java.awt.Color for the pattern. |
Returns: IImage
getTile
Name | Description |
---|---|
getTile (Color) | Creates a tile image for the pattern fill. |
Parameters:
Name | Type | Description |
---|---|---|
styleColor | Color | The default java.awt.Color |
Returns: IImage
getTileImage
Name | Description |
---|---|
getTileImage (Color, Color) | Creates a tile image for the pattern fill with a specified colors. |
Parameters:
Name | Type | Description |
---|---|---|
background | Color | The background java.awt.Color for the pattern. |
foreground | Color | The foreground java.awt.Color for the pattern. |
Returns: BufferedImage
getTileImage
Name | Description |
---|---|
getTileImage (Color) | Creates a tile image for the pattern fill. |
Parameters:
Name | Type | Description |
---|---|---|
styleColor | Color | The default java.awt.Color, defined in ShapeEx’s StyleEx object. Fill’s colors can depend on this. |
Returns: BufferedImage
getVersion
Name | Description |
---|---|
getVersion () |
Returns: long
setPatternStyle
Name | Description |
---|---|
setPatternStyle (byte) | Returns or sets the pattern style. Read/write PatternStyle. |
Returns: void