Język

Font.Builder.SetTtcIndex(Int32) Method

Definition

Sets an index of the font collection.

[Android.Runtime.Register("setTtcIndex", "(I)Landroid/graphics/fonts/Font$Builder;", "", ApiSince=29)]
public Android.Graphics.Fonts.Font.Builder SetTtcIndex(int ttcIndex);
[<Android.Runtime.Register("setTtcIndex", "(I)Landroid/graphics/fonts/Font$Builder;", "", ApiSince=29)>]
member this.SetTtcIndex : int -> Android.Graphics.Fonts.Font.Builder

Parameters

ttcIndex
Int32

An index of the font collection. If the font source is not font collection, do not call this method or specify 0. Value is 0 or greater

Returns

this builder. This value cannot be null.

Attributes

Remarks

Sets an index of the font collection. See R.attr.ttcIndex.

Android reference for android.graphics.fonts.Font.Builder.setTtcIndex.

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