com.aspose.slides
Class GradientFormatEffectiveData

java.lang.Object
  extended by com.aspose.slides.GradientFormatEffectiveData
All Implemented Interfaces:
IGradientFormatEffectiveData

public final class GradientFormatEffectiveData
extends java.lang.Object
implements IGradientFormatEffectiveData

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.
 IGradientStopCollectionEffectiveData 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.

Specified by:
getTileFlip in interface IGradientFormatEffectiveData

getGradientDirection

public int getGradientDirection()

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

Specified by:
getGradientDirection in interface IGradientFormatEffectiveData

getLinearGradientAngle

public float getLinearGradientAngle()

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

Specified by:
getLinearGradientAngle in interface IGradientFormatEffectiveData

getLinearGradientScaled

public boolean getLinearGradientScaled()

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

Specified by:
getLinearGradientScaled in interface IGradientFormatEffectiveData

getGradientShape

public byte getGradientShape()

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

Specified by:
getGradientShape in interface IGradientFormatEffectiveData

getGradientStops

public IGradientStopCollectionEffectiveData getGradientStops()

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

Specified by:
getGradientStops in interface IGradientFormatEffectiveData


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