GradientStopEffectiveData

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IEffectiveData, com.aspose.slides.IGradientStopEffectiveData

public class GradientStopEffectiveData implements IEffectiveData, IGradientStopEffectiveData

Immutable object which represents a gradient stop.

Methods

MethodDescription
getPosition()Returns the position (0..1) of a gradient stop.
getColor()Returns the color of a gradient stop.
equals(Object obj)Determines whether the specified GradientStopEffectiveData is equal to the current GradientStopEffectiveData.
hashCode()

getPosition()

public final float getPosition()

Returns the position (0..1) of a gradient stop. Read-only float.

Returns: float

getColor()

public final Integer getColor()

Returns the color of a gradient stop. Read-only java.lang.Integer.

Returns: java.lang.Integer

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified GradientStopEffectiveData is equal to the current GradientStopEffectiveData.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe GradientStopEffectiveData to compare.

Returns: boolean - true if objects are equal; otherwise, false.

hashCode()

public int hashCode()

Returns: int