Constructor ColorStop
ColorStop(Color, double)
Initializes a new instance of the ColorStop class.
Declaration
public ColorStop(Color color, double position)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color of this ColorStop. |
| double | position | The position of this ColorStop. The value must be in the interval [0.0, 1.0]. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |