GradientStop constructor
Contents
[
Hide
]GradientStop(color, position)
Initializes a new instance of the GradientStop class.
GradientStop(color: string, position: number)
| Parameter | Type | Description |
|---|---|---|
| color | string | Represents the color of the gradient stop. |
| position | number | Represents the position of a stop within the gradient expressed as a percent in range 0.0 to 1.0. |
GradientStop(color, position, transparency)
Initializes a new instance of the GradientStop class.
GradientStop(color: string, position: number, transparency: number)
| Parameter | Type | Description |
|---|---|---|
| color | string | Represents the color of the gradient stop. |
| position | number | Represents the position of a stop within the gradient expressed as a percent in range 0.0 to 1.0. |
| transparency | number | Represents the transparency of a stop within the gradient expressed as a percent in range 0.0 to 1.0. |
See Also
- module Aspose.Words.Drawing
- class GradientStop