Struct GradientStop
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Contains the position and color of a gradient stop.
D2D1_GRADIENT_STOP
public struct GradientStop : IEquatable<GradientStop>
- Implements
- Inherited Members
Constructors
Properties
- Color
The color of the gradient stop.
- Position
A value that indicates the relative position of the gradient stop in the brush. This value must be in the [0.0f, 1.0f] range if the gradient stop is to be seen explicitly.