Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct FontWidth

sealed struct FontWidth
The FontWidth struct refers to the relative proportion of the width of characters in a typeface. Predefined preset values are available for common use.

Fields

Constants

ULTRA_CONDENSED

FontWidth = {1}

EXTRA_CONDENSED

FontWidth = {2}

CONDENSED

FontWidth = {3}
A commonly used font width for condensed text

SEMI_CONDENSED

FontWidth = {4}

NORMAL

FontWidth = {5}
A commonly used font width for normal text

SEMI_EXPANDED

FontWidth = {6}

EXPANDED

FontWidth = {7}
A commonly used font width for expanded text

EXTRA_EXPANDED

FontWidth = {8}

ULTRA_EXPANDED

FontWidth = {9}
Last modified on October 29, 2026