Typeface.CustomFallbackBuilder.SetSystemFallback(String) Method

Definition

Sets a system fallback by name.

[Android.Runtime.Register("setSystemFallback", "(Ljava/lang/String;)Landroid/graphics/Typeface$CustomFallbackBuilder;", "", ApiSince=29)]
public Android.Graphics.Typeface.CustomFallbackBuilder SetSystemFallback(string familyName);
[<Android.Runtime.Register("setSystemFallback", "(Ljava/lang/String;)Landroid/graphics/Typeface$CustomFallbackBuilder;", "", ApiSince=29)>]
member this.SetSystemFallback : string -> Android.Graphics.Typeface.CustomFallbackBuilder

Parameters

familyName
String

a family name to be used for fallback if the provided fonts can not be used. This value cannot be null.

Returns

Attributes

Remarks

Sets a system fallback by name. You can specify generic font family names or OEM specific family names. If the system don't have a specified fallback, the default fallback is used instead. For more information about generic font families, see CSS specification For more information about fallback, see class description.

Android reference for android.graphics.Typeface.CustomFallbackBuilder.setSystemFallback.

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