|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.PatternFormat
public class PatternFormat
Represents a pattern to fill a shape.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the two PatternFormat instances are equal. |
IColorFormat |
getBackColor()
Returns the background pattern color. |
IColorFormat |
getForeColor()
Returns the foreground pattern color. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
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. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
void |
setPatternStyle(byte value)
Returns or sets the pattern style. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public byte getPatternStyle()
Returns or sets the pattern style.
Read/write PatternStyle
.
getPatternStyle
in interface IPatternFormat
public void setPatternStyle(byte value)
Returns or sets the pattern style.
Read/write PatternStyle
.
setPatternStyle
in interface IPatternFormat
public IColorFormat getForeColor()
Returns the foreground pattern color.
Read-only IColorFormat
.
getForeColor
in interface IPatternFormat
public IColorFormat getBackColor()
Returns the background pattern color.
Read-only IColorFormat
.
getBackColor
in interface IPatternFormat
public 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.
getTileImage
in interface IPatternFormat
background
- The background System.Drawing.Color
for the pattern.foreground
- The foreground System.Drawing.Color
for the pattern.
Bitmap
.public java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)
Creates a tile image for the pattern fill.
getTileImage
in interface IPatternFormat
styleColor
- The default System.Drawing.Color
, defined in Shape's StyleEx object. Fill's colors can depend on this.
Bitmap
.public boolean equals(java.lang.Object obj)
Determines whether the two PatternFormat instances are equal.
equals
in class java.lang.Object
obj
- The PatternFormat to compare with the current PatternFormat.
<b>true</b>
if the specified PatternFormat is equal to the current PatternFormat; otherwise, <b>false</b>
.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
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |