com.aspose.slides
Class FillFormat

java.lang.Object
  extended by com.aspose.slides.FillFormat
All Implemented Interfaces:
IFillFormat, IFillParamSource, IPresentationComponent, ISlideComponent

public class FillFormat
extends java.lang.Object
implements IFillFormat

Represents a fill formatting options.


Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether two FillFormat instances are equal.
 byte getFillType()
           Returns or sets the type of filling.
 IGradientFormat getGradientFormat()
           Returns the gradient fill format.
 IPatternFormat getPatternFormat()
           Returns the pattern fill format.
 IPictureFillFormat getPictureFillFormat()
           Returns the picture fill format.
 IPresentation getPresentation()
           Returns the parent presentation of a FillFormat.
 byte getRotateWithShape()
           Determines whether the fill should be rotated with shape.
 IBaseSlide getSlide()
           Returns the parent slide of a FillFormat.
 IColorFormat getSolidFillColor()
           Returns the fill color.
 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 setFillType(byte value)
           
 void setRotateWithShape(byte value)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFillType

public byte getFillType()

Returns or sets the type of filling. Read/write FillType.

Specified by:
getFillType in interface IFillFormat

setFillType

public void setFillType(byte value)
Specified by:
setFillType in interface IFillFormat

getSolidFillColor

public IColorFormat getSolidFillColor()

Returns the fill color. Read-only ColorFormat.

Specified by:
getSolidFillColor in interface IFillFormat

getGradientFormat

public IGradientFormat getGradientFormat()

Returns the gradient fill format. Read-only GradientFormat.

Specified by:
getGradientFormat in interface IFillFormat

getPatternFormat

public IPatternFormat getPatternFormat()

Returns the pattern fill format. Read-only PatternFormat.

Specified by:
getPatternFormat in interface IFillFormat

getPictureFillFormat

public IPictureFillFormat getPictureFillFormat()

Returns the picture fill format. Read-only PictureFillFormat.

Specified by:
getPictureFillFormat in interface IFillFormat

getRotateWithShape

public byte getRotateWithShape()

Determines whether the fill should be rotated with shape. Read/write NullableBool.

Specified by:
getRotateWithShape in interface IFillFormat

setRotateWithShape

public void setRotateWithShape(byte value)
Specified by:
setRotateWithShape in interface IFillFormat

equals

public boolean equals(java.lang.Object obj)

Determines whether two FillFormat instances are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The FillFormat to compare with the current FillFormat.
Returns:
<b>true</b> if the specified FillFormat is equal to the current FillFormat; otherwise, <b>false</b>.

hashCode

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.

Overrides:
hashCode in class java.lang.Object
Returns:
23454


Overriden to make compiler happy. Always returns constant because object is mutable.


getSlide

public IBaseSlide getSlide()

Returns the parent slide of a FillFormat. Read-only BaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a FillFormat. Read-only Presentation.

Specified by:
getPresentation in interface IPresentationComponent