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
| Name | Type | Access | Description |
|---|---|---|---|
tileFlip | TileFlip | Read | Gets the tile flip. |
gradientDirection | GradientDirection | Read | Gets the gradient direction. |
linearGradientAngle | double | Read | Gets the linear gradient angle. |
linearGradientScaled | NullableBool | Read | Gets the linear gradient scaled. |
gradientShape | GradientShape | Read | Gets the gradient shape. |
gradientStops | IGradientStopCollection | Read | Gets the gradient stops. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
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 tile flip. |
setTileFlip(value: TileFlip) | Sets the tile flip value. |
getGradientDirection() → GradientDirection | Returns the gradient direction. |
setGradientDirection(value: GradientDirection) | Sets the gradient direction value. |
getLinearGradientAngle() → double | Returns the linear gradient angle. |
setLinearGradientAngle(value: double) | Sets the linear gradient angle value. |
getLinearGradientScaled() → NullableBool | Returns the linear gradient scaled. |
setLinearGradientScaled(value: NullableBool) | Sets the linear gradient scaled value. |
getGradientShape() → GradientShape | Returns the gradient shape. |
setGradientShape(value: GradientShape) | Sets the gradient shape value. |
getGradientStops() → IGradientStopCollection | Returns the gradient stops. |
PVIObject() | Creates a PVIObject with no parent slide. |
getSlide() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asIPresentationComponent() → IPresentationComponent | Returns this object as an {@link IPresentationComponent}. |