Search
DiagramLink.HeadBrush Property
See Also
 





Gets or sets the Brush used to fill HeadShape.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public IBrush HeadBrush { get; set; }

Visual Basic  Copy Code

Public Property HeadBrush As IBrush

 Property Value

An Avalonia.Media.IBrush -derived object. The default value is null.

 Remarks

If this property is set to null, the arrowhead is filled using link's Brush value.

 Example

This link image was generated using following code:

C#  Copy Code

link.HeadShape = ArrowHeads.Triangle;
link.HeadBrush = Brushes.Red;

link.BaseShape = ArrowHeads.Circle;
link.BaseBrush = Brushes.Green;

link.IntermediateShape = ArrowHeads.BowArrow;
link.IntermediateBrush = Brushes.Yellow;

 See Also