com.aspose.slides
Class GradientFormatDataEx

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

public final class GradientFormatDataEx
extends java.lang.Object

Imutable object which contains gradient properties.


Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether the two GradientValueEx instances are equal.
 int getGradientDirection()
           Returns the style of a gradient.
 byte getGradientShape()
           Returns the shape of a gradient.
 GradientStopDataExCollection getGradientStops()
           Returns the collection of gradient stops.
 float getLinearGradientAngle()
           Returns the angle of a gradient.
 boolean getLinearGradientScaled()
           Determines whether a gradient is scaled.
 int getTileFlip()
           Returns 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.
 
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 GradientValueEx instances are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The GradientValueEx to compare with the current GradientValueEx.
Returns:
<b>true</b> if the specified GradientValueEx is equal to the current GradientValueEx; 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 the flipping mode for a gradient. Read-only TileFlip.


getGradientDirection

public int getGradientDirection()

Returns the style of a gradient. Read-only GradientDirection.


getLinearGradientAngle

public float getLinearGradientAngle()

Returns the angle of a gradient. Read-only float.


getLinearGradientScaled

public boolean getLinearGradientScaled()

Determines whether a gradient is scaled. Read-only bool.


getGradientShape

public byte getGradientShape()

Returns the shape of a gradient. Read-only GradientShape.


getGradientStops

public GradientStopDataExCollection getGradientStops()

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