Type scale definition for typography tokens.
More...
#include <typescale.h>
|
| qint32 | wght () const |
| |
| qint32 | grad () const |
| |
| qint32 | wdth () const |
| |
| qint32 | rond () const |
| |
| qint32 | opsz () const |
| |
| qint32 | crsv () const |
| |
| qint32 | slnt () const |
| |
| qint32 | fill () const |
| |
| qint32 | hexp () const |
| |
Type scale definition for typography tokens.
Provides access to font size and line height for a specific type scale.
import QtQuick
import Fluid as MD
Text {
text: "Hello, World!"
font.pixelSize: MD.Tokens.typescale.bodyLarge.fontSize
lineHeight: MD.Tokens.typescale.bodyLarge.lineHeight
}
qint32 lineHeight
Definition typescale.h:37
◆ crsv()
| qint32 Fluid::TypeScaleValue::crsv |
( |
| ) |
const |
|
inline |
◆ fill()
| qint32 Fluid::TypeScaleValue::fill |
( |
| ) |
const |
|
inline |
◆ grad()
| qint32 Fluid::TypeScaleValue::grad |
( |
| ) |
const |
|
inline |
◆ hexp()
| qint32 Fluid::TypeScaleValue::hexp |
( |
| ) |
const |
|
inline |
◆ opsz()
| qint32 Fluid::TypeScaleValue::opsz |
( |
| ) |
const |
|
inline |
◆ rond()
| qint32 Fluid::TypeScaleValue::rond |
( |
| ) |
const |
|
inline |
◆ slnt()
| qint32 Fluid::TypeScaleValue::slnt |
( |
| ) |
const |
|
inline |
◆ wdth()
| qint32 Fluid::TypeScaleValue::wdth |
( |
| ) |
const |
|
inline |
◆ wght()
| qint32 Fluid::TypeScaleValue::wght |
( |
| ) |
const |
|
inline |
◆ face
◆ crsv
| qint32 Fluid::TypeScaleValue::crsv |
|
read |
◆ face
| QML_ELEMENTStyle::TypeFace Fluid::TypeScaleValue::face |
◆ fill
| qint32 Fluid::TypeScaleValue::fill |
|
read |
◆ fontSize
| qint32 Fluid::TypeScaleValue::fontSize = 14 |
◆ fontWeight
| QFont::Weight Fluid::TypeScaleValue::fontWeight = QFont::Weight::Normal |
◆ grad
| qint32 Fluid::TypeScaleValue::grad |
|
read |
◆ hexp
| qint32 Fluid::TypeScaleValue::hexp |
|
read |
◆ lineHeight
| qint32 Fluid::TypeScaleValue::lineHeight = 24 |
◆ opsz
| qint32 Fluid::TypeScaleValue::opsz |
|
read |
◆ rond
| qint32 Fluid::TypeScaleValue::rond |
|
read |
◆ slnt
| qint32 Fluid::TypeScaleValue::slnt |
|
read |
◆ tracking
| qreal Fluid::TypeScaleValue::tracking = 0.0 |
◆ wdth
| qint32 Fluid::TypeScaleValue::wdth |
|
read |
◆ wght
| qint32 Fluid::TypeScaleValue::wght |
|
read |
The documentation for this struct was generated from the following file:
- /home/runner/work/docs/docs/fluid/src/controls/cpp/style/typescale.h