Skip to main content

SetForegroundBrush(IBrush) Method

Sets foreground brush used for drawing text

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void SetForegroundBrush(
IBrush foregroundBrush
)

Parameters

  IBrush
Foreground brush

See Also

Reference

FormattedText Class
SetForegroundBrush Overload
Avalonia.Media Namespace