GradientFormat

Overview

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

Represents a gradient format.

Properties

NameTypeAccessDescription
tileFlipTileFlipReadProperty gets or sets the TileFlip mode
gradientDirectionGradientDirectionReadProperty gets or sets the gradient direction
linearGradientAngledoubleReadProperty gets or sets the linear gradient angle
linearGradientScaledNullableBoolReadProperty gets or sets the linear gradient scaling flag
gradientShapeGradientShapeReadProperty gets or sets the gradient shape
gradientStopsIGradientStopCollectionReadProperty gets the collection of gradient stops

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 current TileFlip setting
setTileFlip(value: TileFlip)Sets the TileFlip mode to the specified value
getGradientDirection()GradientDirectionReturns the gradient direction
setGradientDirection(value: GradientDirection)Sets the gradient direction to the given value
getLinearGradientAngle()doubleReturns the angle of the linear gradient
setLinearGradientAngle(value: double)Sets the angle of the linear gradient
getLinearGradientScaled()NullableBoolReturns whether linear gradient scaling is enabled
setLinearGradientScaled(value: NullableBool)Sets the linear gradient scaling flag
getGradientShape()GradientShapeReturns the shape of the gradient
setGradientShape(value: GradientShape)Sets the gradient shape to the specified value
getGradientStops()IGradientStopCollectionReturns the collection of gradient stops

See Also