Table of Contents

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

GradientStop(float, ColorRgba128Float)

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.

Methods

Equals(GradientStop)
Equals(in GradientStop)
Equals(object?)
GetHashCode()

Operators

operator ==(in GradientStop, in GradientStop)
operator !=(in GradientStop, in GradientStop)