public interface IPatternFormat
Represents a pattern to fill a shape.
Modifier and Type | Method and Description |
---|---|
IColorFormat |
getBackColor()
Returns the background pattern color.
|
IColorFormat |
getForeColor()
Returns the foreground pattern color.
|
byte |
getPatternStyle()
Returns or sets the pattern style.
|
android.graphics.Bitmap |
getTileImage(java.lang.Integer styleColor)
Creates a tile image for the pattern fill.
|
android.graphics.Bitmap |
getTileImage(java.lang.Integer background,
java.lang.Integer foreground)
Creates a tile image for the pattern fill with a specified colors.
|
void |
setPatternStyle(byte value)
Returns or sets the pattern style.
|
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
.
android.graphics.Bitmap getTileImage(java.lang.Integer background, java.lang.Integer foreground)
Creates a tile image for the pattern fill with a specified colors.
background
- The background Integer
for the pattern.foreground
- The foreground Integer
for the pattern.Bitmap
.android.graphics.Bitmap getTileImage(java.lang.Integer styleColor)
Creates a tile image for the pattern fill.
styleColor
- The default Integer
,
defined in ShapeEx's StyleEx object. Fill's colors can depend on this.Bitmap
.