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

Method Description
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 Color getColor()

Returns the color of a gradient stop. Read-only java.awt.Color.

Returns: java.awt.Color

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

Parameter Type Description
obj java.lang.Object The GradientStopEffectiveData to compare.

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

hashCode()

public int hashCode()

Returns: int