Table of Contents

Struct GradientStop

Namespace
Icy.Rendering.Brushes
Assembly
IcyUI.dll

One color stop within a GradientBrush.

public readonly record struct GradientStop : IEquatable<GradientStop>
Implements
Inherited Members
Extension Methods

Constructors

GradientStop(float, Color)

One color stop within a GradientBrush.

public GradientStop(float Offset, Color Color)

Parameters

Offset float

Position along the gradient, from 0 to 1.

Color Color

The color at this stop.

Properties

Color

The color at this stop.

public Color Color { get; init; }

Property Value

Color

Offset

Position along the gradient, from 0 to 1.

public float Offset { get; init; }

Property Value

float