FormattedTextSetForegroundBrush(IBrush) Method
Sets foreground brush used for drawing text
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetForegroundBrush(
IBrush foregroundBrush
)
Public Sub SetForegroundBrush (
foregroundBrush As IBrush
)
member SetForegroundBrush :
foregroundBrush : IBrush -> unit
Parameters
- foregroundBrush IBrush
- Foreground brush