public final class GradientFormatEffectiveData extends java.lang.Object implements IGradientFormatEffectiveData
Imutable object which contains gradient properties.
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean equals(java.lang.Object obj)
Determines whether the two GradientValueEx instances are equal.
equals
in class java.lang.Object
obj
- The GradientValueEx to compare with the current GradientValueEx.<b>true</b>
if the specified GradientValueEx is equal to the current GradientValueEx; otherwise, <b>false</b>
.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.
hashCode
in class java.lang.Object
public final int getTileFlip()
Returns the flipping mode for a gradient.
Read-only TileFlip
.
getTileFlip
in interface IGradientFormatEffectiveData
public final int getGradientDirection()
Returns the style of a gradient.
Read-only GradientDirection
.
getGradientDirection
in interface IGradientFormatEffectiveData
public final float getLinearGradientAngle()
Returns the angle of a gradient.
Read-only float
.
getLinearGradientAngle
in interface IGradientFormatEffectiveData
public final boolean getLinearGradientScaled()
Determines whether a gradient is scaled.
Read-only boolean
.
getLinearGradientScaled
in interface IGradientFormatEffectiveData
public final byte getGradientShape()
Returns the shape of a gradient.
Read-only GradientShape
.
getGradientShape
in interface IGradientFormatEffectiveData
public final IGradientStopCollectionEffectiveData getGradientStops()
Returns the collection of gradient stops.
Read-only IGradientStopCollectionEffectiveData
.
getGradientStops
in interface IGradientFormatEffectiveData
Copyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.