public class PatternFormatEffectiveData extends java.lang.Object implements IPatternFormatEffectiveData
Immutable object which represents a pattern to fill a shape.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares with specified object.
|
java.lang.Integer |
getBackColor()
Returns the background pattern color.
|
java.lang.Integer |
getForeColor()
Returns the foreground pattern color.
|
byte |
getPatternStyle()
Returns the pattern style.
|
android.graphics.Bitmap |
getTileImage(java.lang.Integer background,
java.lang.Integer foreground)
Creates a tile image for the pattern fill with a specified colors.
|
int |
hashCode()
Serves as a hash function for a particular type, suitable for use
in hashing algorithms and data structures like a hash table.
|
public final byte getPatternStyle()
Returns the pattern style.
Read-only PatternStyle
.
getPatternStyle
in interface IPatternFormatEffectiveData
public final java.lang.Integer getForeColor()
Returns the foreground pattern color.
Read-only Integer
.
getForeColor
in interface IPatternFormatEffectiveData
public final java.lang.Integer getBackColor()
Returns the background pattern color.
Read-only Integer
.
getBackColor
in interface IPatternFormatEffectiveData
public final android.graphics.Bitmap getTileImage(java.lang.Integer background, java.lang.Integer foreground)
Creates a tile image for the pattern fill with a specified colors.
getTileImage
in interface IPatternFormatEffectiveData
background
- The background Integer
for the pattern.foreground
- The foreground Integer
for the pattern.Bitmap
.public boolean equals(java.lang.Object obj)
Compares with specified object.
equals
in class java.lang.Object
obj
- Object to compare.public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
hashCode
in class java.lang.Object
Copyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.