Share via


Paint.Typeface Property

Definition

Get the paint's typeface object.

public virtual Android.Graphics.Typeface? Typeface { [Android.Runtime.Register("getTypeface", "()Landroid/graphics/Typeface;", "GetGetTypefaceHandler")] get; }
[<get: Android.Runtime.Register("getTypeface", "()Landroid/graphics/Typeface;", "GetGetTypefaceHandler")>]
member this.Typeface : Android.Graphics.Typeface

Property Value

the paint's typeface (or null)

Attributes

Remarks

Get the paint's typeface object. <p /> The typeface object identifies which font to use when drawing or measuring text.

Java documentation for android.graphics.Paint.getTypeface().

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