Skip to content
PHP Ecosystem
Explore

FontStyle

API reference › HTML SVG › Values › FontStyle

enumUIAwesome\Html\Svg\Values\FontStyle
Backed bystring
Sourcesrc/Values/FontStyle.php

Represents literal string values for the SVG font-style attribute.

Provides the keyword values used by the font-style attribute.

See also: Text::fontStyle().

CaseValueDescription
ITALIC'italic'italic - Selects a font that is classified as italic.
NORMAL'normal'normal - Selects a font that is classified as normal.
OBLIQUE'oblique'oblique - Selects a font that is classified as oblique.