GradientStop

Overview

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

Represents a single gradient stop.

This class declares 12 methods for GradientStop objects in Java programs. Available methods include: GradientStop, PVIObject, asIPresentationComponent, getColor, getPosition, getPresentation, getSlide, initInternal, save, setPosition. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: color, position, presentation, slide.

Properties

NameTypeAccessDescription
positiondoubleRead/WriteGets or sets the position.
colorIColorFormatReadGets the color.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

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 position.
setPosition(value: double)Sets the position value.
getColor() → IColorFormatReturns the color.
PVIObject()Creates a PVIObject with no parent slide.
PVIObject(parentSlide: IBaseSlide)Creates a PVIObject associated with the given slide.
getSlide() → IBaseSlideCreates a new GradientStop backed by the given {@code <a:gs>} element.
getPresentation() → IPresentationReturns the presentation.
asIPresentationComponent() → IPresentationComponentReturns this object as an {@link IPresentationComponent}.

See Also

 English