Typeface.Builder.SetItalic(Boolean) Method

Definition

Sets italic information of the font.

[Android.Runtime.Register("setItalic", "(Z)Landroid/graphics/Typeface$Builder;", "", ApiSince=26)]
public Android.Graphics.Typeface.Builder? SetItalic(bool italic);
[<Android.Runtime.Register("setItalic", "(Z)Landroid/graphics/Typeface$Builder;", "", ApiSince=26)>]
member this.SetItalic : bool -> Android.Graphics.Typeface.Builder

Parameters

italic
Boolean

true if the font is italic. Otherwise false.

Returns

Attributes

Remarks

Sets italic information of the font. Tells the system the style of the given font. If not provided, the system will resolve the style by reading font tables.

Android reference for android.graphics.Typeface.Builder.setItalic.

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