TextAttributeExtensions.GetFontSize 方法

定义

public static float GetFontSize (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, float? fontSize = default);
static member GetFontSize : Microsoft.Maui.Graphics.Text.ITextAttributes * Nullable<single> -> single
<Extension()>
Public Function GetFontSize (attributes As ITextAttributes, Optional fontSize As Nullable(Of Single) = Nothing) As Single

参数

attributes
ITextAttributes
fontSize
Nullable<Single>

返回

适用于