FormattedTextSetMaxTextWidths Method

Sets the array of lengths, which will be applied to each line of text in turn. If the text covers more lines than there are entries in the length array, the last entry is reused as many times as required. The maxTextWidths array overrides the MaxTextWidth property.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetMaxTextWidths(
	double[] maxTextWidths
)

Parameters

maxTextWidths  Double
The max text width array

See Also