GradientStop

General

GradientStop is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, IGradientStop.

GradientStop és una classe en Aspose.Slides FOSS per a Java. Hereta de: ゚ PVIObject⌒, ∂IGradientStopヽ .

Representa una sola parada de gradient.

Propietats

NameTypeAccessDescription
positiondoubleReadGets or sets the stop’s position as a double
colorIColorFormatReadGets or sets the stop’s IColorFormat color

Mètodes

SignatureDescription
GradientStop()Creates an empty {@code GradientStop} with no backing element.
GradientStop(gsElement: Element, saveCallback: Runnable)Creates a new GradientStop backed by the given {@code <a:gs>} element.
initInternal(gsElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)GradientStopInitializes this gradient stop from the given {@code <a:gs>} element,
save callback, and parent slide.
save()Persists changes by invoking the save callback, if one was provided.
getPosition()doubleReturns the stop’s position as a double
setPosition(value: double)Sets the stop’s position to the specified double value
getColor()IColorFormatreturns anIColorFormat` representing the color of the gradient stop
 Català