|
||||||||
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. |
int |
getPatternStyle()
Returns or sets the pattern style. |
IPresentation |
getPresentation()
Returns the parent presentation of a PatternFormat. |
IBaseSlide |
getSlide()
Returns the parent slide of a PatternFormat. |
java.awt.image.BufferedImage |
getTileImage(java.awt.Color styleColor)
|
java.awt.image.BufferedImage |
getTileImage(java.awt.Color background,
java.awt.Color foreground)
|
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(int value)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPatternStyle()
Returns or sets the pattern style.
Read/write PatternStyle
.
getPatternStyle
in interface IPatternFormat
public void setPatternStyle(int value)
setPatternStyle
in interface IPatternFormat
public IColorFormat getForeColor()
Returns the foreground pattern color.
Read-only ColorFormat
.
getForeColor
in interface IPatternFormat
public IColorFormat getBackColor()
Returns the background pattern color.
Read-only ColorFormat
.
getBackColor
in interface IPatternFormat
public java.awt.image.BufferedImage getTileImage(java.awt.Color background, java.awt.Color foreground)
getTileImage
in interface IPatternFormat
public java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)
getTileImage
in interface IPatternFormat
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 IBaseSlide getSlide()
Returns the parent slide of a PatternFormat.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public IPresentation getPresentation()
Returns the parent presentation of a PatternFormat.
Read-only Presentation
.
getPresentation
in interface IPresentationComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |