Table of Contents

Class ImmutableGradientStop

Namespace
Avalonia.Media.Immutable
Assembly
Avalonia.Base.dll

Describes the location and color of a transition point in a gradient.

public class ImmutableGradientStop : IGradientStop
Inheritance
ImmutableGradientStop
Implements
Inherited Members

Constructors

ImmutableGradientStop(double, Color)

public ImmutableGradientStop(double offset, Color color)

Parameters

offset double
color Color

Properties

Color

Gets the gradient stop color.

public Color Color { get; }

Property Value

Color

Offset

Gets the gradient stop offset.

public double Offset { get; }

Property Value

double