FormattedTextSetFontWeight(FontWeight, Int32, Int32) Method

Sets or changes the font weight

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetFontWeight(
	FontWeight weight,
	int startIndex,
	int count
)

Parameters

weight  FontWeight
Font weight
startIndex  Int32
The start index of initial character to apply the change to.
count  Int32
The number of characters the change should be applied to.

See Also