IGradientStop

Overview

IGradientStop is an interface in Aspose.Slides FOSS for Java.

Represents a gradient stop.

This interface declares 3 methods for IGradientStop objects in Java programs. Available methods include: getColor, getPosition, setPosition. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: color, position.

Properties

NameTypeAccessDescription
positiondoubleRead/WriteReturns or sets the position (0..1) of a gradient stop.
colorIColorFormatReadReturns the color of a gradient stop.

Methods

SignatureDescription
getPosition() → doubleReturns or sets the position (0..1) of a gradient stop.
setPosition(value: double)Sets the position of a gradient stop.
getColor() → IColorFormatReturns the color of a gradient stop.

See Also

 English