다음을 통해 공유


TextAttributesExtensions.GetFloatAttribute 메서드

정의

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

매개 변수

attributes
ITextAttributes
defaultValue
Single

반환

적용 대상