Taal

TextAppearanceInfo.Builder.SetTextFontWeight(Int32) Method

Definition

Set the weight of the text.

[Android.Runtime.Register("setTextFontWeight", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.TextAppearanceInfo.Builder SetTextFontWeight(int textFontWeight);
[<Android.Runtime.Register("setTextFontWeight", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)>]
member this.SetTextFontWeight : int -> Android.Views.InputMethods.TextAppearanceInfo.Builder

Parameters

textFontWeight
Int32

The text weight, from FontWeightUnspecified through FontWeightMax, inclusive.

Returns

This builder after the setting is stored.

Attributes

Remarks

Set the weight of the text.

Android reference for android.view.inputmethod.TextAppearanceInfo.Builder.setTextFontWeight.

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