com.aspose.slides
Class GradientFormat

java.lang.Object
  extended by com.aspose.slides.GradientFormat
All Implemented Interfaces:
IFillParamSource, IGradientFormat

public final class GradientFormat
extends java.lang.Object
implements IGradientFormat

Represent a gradient format.


Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether the two GradientFormat instances are equal.
 int getGradientDirection()
           Returns or sets the style of a gradient.
 byte getGradientShape()
           Returns or sets the shape of a gradient.
 IGradientStopCollection getGradientStops()
           Returns the collection of gradient stops.
 float getLinearGradientAngle()
           Returns or sets the angle of a gradient.
 byte getLinearGradientScaled()
           Determines whether a gradient is scaled.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 int getTileFlip()
           Returns or sets the flipping mode for a gradient.
 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 setGradientDirection(int value)
           Returns or sets the style of a gradient.
 void setGradientShape(byte value)
           Returns or sets the shape of a gradient.
 void setLinearGradientAngle(float value)
           Returns or sets the angle of a gradient.
 void setLinearGradientScaled(byte value)
           Determines whether a gradient is scaled.
 void setTileFlip(int value)
           Returns or sets the flipping mode for a gradient.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)

Determines whether the two GradientFormat instances are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The GradientFormat to compare with the current GradientFormat.
Returns:
<b>true</b> if the specified GradientFormat is equal to the current GradientFormat; 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:


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


getTileFlip

public int getTileFlip()

Returns or sets the flipping mode for a gradient. Read/write TileFlip.

Specified by:
getTileFlip in interface IGradientFormat

setTileFlip

public void setTileFlip(int value)

Returns or sets the flipping mode for a gradient. Read/write TileFlip.

Specified by:
setTileFlip in interface IGradientFormat

getGradientDirection

public int getGradientDirection()

Returns or sets the style of a gradient. Read/write GradientDirection.

Specified by:
getGradientDirection in interface IGradientFormat

setGradientDirection

public void setGradientDirection(int value)

Returns or sets the style of a gradient. Read/write GradientDirection.

Specified by:
setGradientDirection in interface IGradientFormat

getLinearGradientAngle

public float getLinearGradientAngle()

Returns or sets the angle of a gradient. Read/write float.

Specified by:
getLinearGradientAngle in interface IGradientFormat

setLinearGradientAngle

public void setLinearGradientAngle(float value)

Returns or sets the angle of a gradient. Read/write float.

Specified by:
setLinearGradientAngle in interface IGradientFormat

getLinearGradientScaled

public byte getLinearGradientScaled()

Determines whether a gradient is scaled. Read/write NullableBool.

Specified by:
getLinearGradientScaled in interface IGradientFormat

setLinearGradientScaled

public void setLinearGradientScaled(byte value)

Determines whether a gradient is scaled. Read/write NullableBool.

Specified by:
setLinearGradientScaled in interface IGradientFormat

getGradientShape

public byte getGradientShape()

Returns or sets the shape of a gradient. Read/write GradientShape.

Specified by:
getGradientShape in interface IGradientFormat

setGradientShape

public void setGradientShape(byte value)

Returns or sets the shape of a gradient. Read/write GradientShape.

Specified by:
setGradientShape in interface IGradientFormat

getGradientStops

public IGradientStopCollection getGradientStops()

Returns the collection of gradient stops. Read-only IGradientStopCollection.

Specified by:
getGradientStops in interface IGradientFormat

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.