GradientFormat
General
GradientFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, IGradientFormat, IFillParamSource.
GradientFormat és una classe en Aspose.Slides FOSS per a Java. És heretat de: ゚ PVIObject⌒, ∂IGradientFormatヽ , ̋IFillParamSource` .
Representa un format de gradient.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
tileFlip | TileFlip | Read | Property gets or sets the TileFlip mode of the gradient |
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 scaling flag for linear gradients |
gradientShape | GradientShape | Read | Property gets or sets the gradient shape |
gradientStops | IGradientStopCollection | Read | Property provides access to the gradient stop collection |
Mètodes
| 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 of the gradient |
setTileFlip(value: TileFlip) | Sets the TileFlip mode for the gradient |
getGradientDirection() → GradientDirection | Returns the gradient’s direction enumeration |
setGradientDirection(value: GradientDirection) | Sets the gradient’s direction |
getLinearGradientAngle() → double | Returns the angle of a linear gradient in degrees |
setLinearGradientAngle(value: double) | Sets the angle of a linear gradient |
getLinearGradientScaled() → NullableBool | Returns whether the linear gradient is scaled (NullableBool) |
setLinearGradientScaled(value: NullableBool) | Sets the scaling flag for the linear gradient |
getGradientShape() → GradientShape | Returns the shape type of the gradient |
setGradientShape(value: GradientShape) | Sets the gradient’s shape |
getGradientStops() → IGradientStopCollection | Returns the collection of gradient stops |