FormattedTextSetForegroundBrush(IBrush) Method

Sets foreground brush used for drawing text

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetForegroundBrush(
	IBrush foregroundBrush
)

Parameters

foregroundBrush  IBrush
Foreground brush

See Also