{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

FontStyle.Companion

public static class FontStyle.Companion


Summary

Public methods

static final @NonNull FontStyle

Use glyphs designed for slanting

static final @NonNull FontStyle

Use the upright glyphs

static final @NonNull List<@NonNull FontStyle>

Returns a list of possible values of FontStyle.

Public methods

getItalic

public static final @NonNull FontStyle getItalic()

Use glyphs designed for slanting

getNormal

public static final @NonNull FontStyle getNormal()

Use the upright glyphs

values

public static final @NonNull List<@NonNull FontStylevalues()

Returns a list of possible values of FontStyle.