Skip to main content

IGradientStop Interface

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

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

public interface IGradientStop

Properties

NameDescription
ColorGets the gradient stop color.
OffsetGets the gradient stop offset.

Color Property

Gets the gradient stop color.

public Avalonia.Media.Color Color { get; set; }

Offset Property

Gets the gradient stop offset.

public double Offset { get; set; }