Partager via


TextAttributesExtensions.GetFloatAttribute Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static float GetFloatAttribute(Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes, Microsoft::Maui::Graphics::Text::TextAttribute type, float defaultValue);
public static float GetFloatAttribute (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, Microsoft.Maui.Graphics.Text.TextAttribute type, float defaultValue);
static member GetFloatAttribute : Microsoft.Maui.Graphics.Text.ITextAttributes * Microsoft.Maui.Graphics.Text.TextAttribute * single -> single
<Extension()>
Public Function GetFloatAttribute (attributes As ITextAttributes, type As TextAttribute, defaultValue As Single) As Single

Parameters

attributes
ITextAttributes
defaultValue
Single

Returns

Applies to