GradientFormat
Overview
GradientFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, IGradientFormat, IFillParamSource.
Represents a gradient format.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
tileFlip | TileFlip | Read | Property gets or sets the TileFlip mode |
gradientDirection | GradientDirection | Read | Property gets or sets the gradient direction |
linearGradientAngle | double | Read | Property gets or sets the linear gradient angle |
linearGradientScaled | NullableBool | Read | Property gets or sets the linear gradient scaling flag |
gradientShape | GradientShape | Read | Property gets or sets the gradient shape |
gradientStops | IGradientStopCollection | Read | Property gets the collection of gradient stops |
Methods
| Signature | Description |
|---|---|
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() → TileFlip | Returns the current TileFlip setting |
setTileFlip(value: TileFlip) | Sets the TileFlip mode to the specified value |
getGradientDirection() → GradientDirection | Returns the gradient direction |
setGradientDirection(value: GradientDirection) | Sets the gradient direction to the given value |
getLinearGradientAngle() → double | Returns the angle of the linear gradient |
setLinearGradientAngle(value: double) | Sets the angle of the linear gradient |
getLinearGradientScaled() → NullableBool | Returns whether linear gradient scaling is enabled |
setLinearGradientScaled(value: NullableBool) | Sets the linear gradient scaling flag |
getGradientShape() → GradientShape | Returns the shape of the gradient |
setGradientShape(value: GradientShape) | Sets the gradient shape to the specified value |
getGradientStops() → IGradientStopCollection | Returns the collection of gradient stops |