com.aspose.slides
Class GradientFormatEx

java.lang.Object
  extended by com.aspose.slides.GradientFormatEx

public final class GradientFormatEx
extends java.lang.Object

Represent a gradient format.


Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether the two GradientFormatEx instances are equal.
 int getGradientDirection()
           Returns or sets the style of a gradient.
 byte getGradientShape()
           Returns or sets the shape of a gradient.
 GradientStopExCollection 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.
 PresentationEx getPresentation()
           Returns the parent presentation of a gradient.
 BaseSlideEx getSlide()
           Returns the parent slide of a gradient.
 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)
           
 void setGradientShape(byte value)
           
 void setLinearGradientAngle(float value)
           
 void setLinearGradientScaled(byte value)
           
 void setTileFlip(int value)
           
 
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 GradientFormatEx instances are equal.

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


setTileFlip

public void setTileFlip(int value)

getGradientDirection

public int getGradientDirection()

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


setGradientDirection

public void setGradientDirection(int value)

getLinearGradientAngle

public float getLinearGradientAngle()

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


setLinearGradientAngle

public void setLinearGradientAngle(float value)

getLinearGradientScaled

public byte getLinearGradientScaled()

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


setLinearGradientScaled

public void setLinearGradientScaled(byte value)

getGradientShape

public byte getGradientShape()

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


setGradientShape

public void setGradientShape(byte value)

getGradientStops

public GradientStopExCollection getGradientStops()

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


getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a gradient. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a gradient. Read-only PresentationEx.