GradientStop
Overview
GradientStop is a class in Aspose.Words FOSS for .NET.
Represents one gradient stop.
This class provides 3 methods for working with GradientStop objects in .NET programs.
Available methods include: GradientStop, Remove.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: BaseColor, Color, Position, Transparency.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Color | Color | Read/Write | Gets or sets a value representing the color of the gradient stop. |
BaseColor | Color | Read | Gets a value representing the color of the gradient stop without any modifiers. |
Position | double | Read/Write | Gets or sets a value representing the position of a stop within the gradient expressed as a percent in range 0.0 to 1.0. |
Transparency | double | Read/Write | Gets or sets a value representing the transparency of the gradient fill expressed as a percent in range 0.0 to 1.0. |
Methods
| Signature | Description |
|---|---|
GradientStop(color: Color, position: double) | Initializes a new instance of the GradientStop class. |
GradientStop(color: Color, position: double, transparency: double) | Initializes a new instance of the GradientStop class. |
Remove() | Removes the gradient stop from the parent GradientStopCollection. |