Table of Contents

Struct GradientStop

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

One stop of a GradientFill.

public readonly struct GradientStop : IEquatable<GradientStop>
Implements
Inherited Members

Constructors

GradientStop(int, ColorRgb, int)

Initializes a gradient stop.

Properties

Alpha

Gets the stop opacity in thousandths of a percent (0..100000).

Color

Gets the stop color.

Position

Gets the position along the sweep in thousandths of a percent (0..100000).

Methods

Equals(GradientStop)

Determines equality.

Equals(object?)

Determines equality.

GetHashCode()

Computes a hash code.

Operators

operator ==(GradientStop, GradientStop)

Determines equality.

operator !=(GradientStop, GradientStop)

Determines inequality.