SetForegroundBrush(IBrush) Method
Sets foreground brush used for drawing text
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void SetForegroundBrush(
IBrush foregroundBrush
)
Public Sub SetForegroundBrush (
foregroundBrush As IBrush
)
member SetForegroundBrush :
foregroundBrush : IBrush -> unit
Parameters
- IBrush
- Foreground brush
See Also
Reference
FormattedText Class
SetForegroundBrush Overload
Avalonia.Media Namespace