Paint.SetTypeface(Typeface) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set or clear the typeface object.
[Android.Runtime.Register("setTypeface", "(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;", "GetSetTypeface_Landroid_graphics_Typeface_Handler")]
public virtual Android.Graphics.Typeface? SetTypeface (Android.Graphics.Typeface? typeface);
[<Android.Runtime.Register("setTypeface", "(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;", "GetSetTypeface_Landroid_graphics_Typeface_Handler")>]
abstract member SetTypeface : Android.Graphics.Typeface -> Android.Graphics.Typeface
override this.SetTypeface : Android.Graphics.Typeface -> Android.Graphics.Typeface
- typeface
- Typeface
May be null. The typeface to be installed in the paint
typeface
- Attributes
Set or clear the typeface object. <p /> Pass null to clear any previous typeface. As a convenience, the parameter passed is also returned.
Java documentation for android.graphics.Paint.setTypeface(android.graphics.Typeface)
.
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.