IGradientStopEffectiveData

public interface 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.

getPosition()

public abstract float getPosition()

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

Returns: float

getColor()

public abstract Color getColor()

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

Returns: java.awt.Color