Sdílet prostřednictvím


Typeface.DefaultFromStyle(TypefaceStyle) Method

Definition

Returns one of the default typeface objects, based on the specified style

[Android.Runtime.Register("defaultFromStyle", "(I)Landroid/graphics/Typeface;", "")]
public static Android.Graphics.Typeface? DefaultFromStyle (Android.Graphics.TypefaceStyle style);
[<Android.Runtime.Register("defaultFromStyle", "(I)Landroid/graphics/Typeface;", "")>]
static member DefaultFromStyle : Android.Graphics.TypefaceStyle -> Android.Graphics.Typeface

Parameters

Returns

the default typeface that corresponds to the style

Attributes

Remarks

Returns one of the default typeface objects, based on the specified style

Java documentation for android.graphics.Typeface.defaultFromStyle(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to