GradientFormat

Overview

GradientFormat is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, IGradientFormat, IFillParamSource.

Represents a gradient format.

This class provides 18 methods for working with GradientFormat objects in Java programs. Available methods include: GradientFormat, PVIObject, asIPresentationComponent, getGradientDirection, getGradientShape, getGradientStops, getLinearGradientAngle, getLinearGradientScaled, getPresentation, getSlide, getTileFlip, initInternal, and 5 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: gradientDirection, gradientShape, gradientStops, linearGradientAngle, linearGradientScaled, presentation, and 2 more.

Properties

NameTypeAccessDescription
tileFlipTileFlipReadGets the tile flip.
gradientDirectionGradientDirectionReadGets the gradient direction.
linearGradientAngledoubleReadGets the linear gradient angle.
linearGradientScaledNullableBoolReadGets the linear gradient scaled.
gradientShapeGradientShapeReadGets the gradient shape.
gradientStopsIGradientStopCollectionReadGets the gradient stops.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
GradientFormat()Creates a new uninitialized GradientFormat.
GradientFormat(gradFill: Element, saveCallback: Runnable)Creates a new GradientFormat backed by the given {@code <a:gradFill>} element.
initInternal(gradFillElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)Internal initialization.
getTileFlip()TileFlipReturns the tile flip.
setTileFlip(value: TileFlip)Sets the tile flip value.
getGradientDirection()GradientDirectionReturns the gradient direction.
setGradientDirection(value: GradientDirection)Sets the gradient direction value.
getLinearGradientAngle()doubleReturns the linear gradient angle.
setLinearGradientAngle(value: double)Sets the linear gradient angle value.
getLinearGradientScaled()NullableBoolReturns the linear gradient scaled.
setLinearGradientScaled(value: NullableBool)Sets the linear gradient scaled value.
getGradientShape()GradientShapeReturns the gradient shape.
setGradientShape(value: GradientShape)Sets the gradient shape value.
getGradientStops()IGradientStopCollectionReturns the gradient stops.
PVIObject()Creates a PVIObject with no parent slide.
getSlide()IBaseSlideReturns the slide.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponentReturns this object as an {@link IPresentationComponent}.

See Also