In This Article

MeshGradientNode Class

Represents a node within a MeshGradientPresenter.

public class MeshGradientNode : AvaloniaObject
Inheritance:
object AvaloniaObject object

Constructors

MeshGradientNode()

Initializes an instance of the class.

public MeshGradientNode()

Properties

Center

A Avalonia.RelativePoint that specified the node location.

public RelativePoint Center { get; set; }

Property Value

RelativePoint

Color

The Avalonia.Media.Color of the node.

public Color Color { get; set; }

Property Value

Color

Fields

CenterProperty

Defines the Center property.

public static readonly StyledProperty<RelativePoint> CenterProperty

ColorProperty

Defines the Color property.

public static readonly StyledProperty<Color> ColorProperty

Inherited Members

Extension Methods