Language

FontSlant Enum

Definition

Specifies whether a font is upright or italic.

public enum FontSlant
type FontSlant = 
Inheritance
FontSlant

Fields

Name Value Description
Upright 0

A font slant value for upright

Android reference for android.graphics.fonts.FontStyle.FONT_SLANT_UPRIGHT.

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.

Italic 1

A font slant value for italic

Android reference for android.graphics.fonts.FontStyle.FONT_SLANT_ITALIC.

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.

Remarks

Upright corresponds to Android's FontStyle.FONT_SLANT_UPRIGHT constant.

Italic corresponds to Android's FontStyle.FONT_SLANT_ITALIC constant.

Applies to