Typeface.CustomFallbackBuilder.AddCustomFallback(FontFamily) Method

Definition

Append a font family to the end of the custom font fallback.

[Android.Runtime.Register("addCustomFallback", "(Landroid/graphics/fonts/FontFamily;)Landroid/graphics/Typeface$CustomFallbackBuilder;", "", ApiSince=29)]
public Android.Graphics.Typeface.CustomFallbackBuilder AddCustomFallback(Android.Graphics.Fonts.FontFamily family);
[<Android.Runtime.Register("addCustomFallback", "(Landroid/graphics/fonts/FontFamily;)Landroid/graphics/Typeface$CustomFallbackBuilder;", "", ApiSince=29)>]
member this.AddCustomFallback : Android.Graphics.Fonts.FontFamily -> Android.Graphics.Typeface.CustomFallbackBuilder

Parameters

family
FontFamily

a fallback family. This value cannot be null.

Returns

Attributes

Remarks

Append a font family to the end of the custom font fallback. You can set up to 64 custom fallback families including the first font family you passed to the constructor. For more information about fallback, see class description.

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

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