Click or drag to resize
CanvasGradientStop Structure
Used to describe one gradient stop in a gradient brush.

Namespace:  Microsoft.Graphics.Canvas.Brushes
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public struct CanvasGradientStop

The CanvasGradientStop type exposes the following members.

Fields
  NameDescription
Public fieldColor
The color at the gradient stop.
Public fieldPosition
The position of the gradient stop. Expected to be between 0 and 1, inclusive.
Top
Remarks
See CanvasGradientStopHdr for a version that accepts high-dynamic-range colors.
See Also