|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPatternFormat
Represents a pattern to fill a shape.
Method Summary | |
---|---|
IColorFormat |
getBackColor()
Returns the background pattern color. |
IColorFormat |
getForeColor()
Returns the foreground pattern color. |
byte |
getPatternStyle()
Returns or sets the pattern style. |
java.awt.image.BufferedImage |
getTileImage(java.awt.Color styleColor)
Creates a tile image for the pattern fill. |
java.awt.image.BufferedImage |
getTileImage(java.awt.Color background,
java.awt.Color foreground)
Creates a tile image for the pattern fill with a specified colors. |
void |
setPatternStyle(byte value)
Returns or sets the pattern style. |
Method Detail |
---|
byte getPatternStyle()
Returns or sets the pattern style.
Read/write PatternStyle
.
void setPatternStyle(byte value)
Returns or sets the pattern style.
Read/write PatternStyle
.
IColorFormat getForeColor()
Returns the foreground pattern color.
Read-only IColorFormat
.
IColorFormat getBackColor()
Returns the background pattern color.
Read-only IColorFormat
.
java.awt.image.BufferedImage getTileImage(java.awt.Color background, java.awt.Color foreground)
Creates a tile image for the pattern fill with a specified colors.
background
- The background System.Drawing.Color
for the pattern.foreground
- The foreground System.Drawing.Color
for the pattern.
Bitmap
.java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)
Creates a tile image for the pattern fill.
styleColor
- The default System.Drawing.Color
,
defined in ShapeEx's StyleEx object. Fill's colors can depend on this.
Bitmap
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |