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

FontStyle

value public final class FontStyle


Defines whether the font is Italic or Normal.

See also
Font
FontFamily

Summary

Nested types

public static class FontStyle.Companion

Public constructors

FontStyle(int value)

Public methods

final int
@NonNull String

Public constructors

FontStyle

public FontStyle(int value)

Public methods

getValue

public final int getValue()

toString

public @NonNull String toString()