Search
Preparing search index...
The search index is not available
EF React Native Style Framework
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"font/Style"
FontStyle
Class FontStyle
The font style class provides a huge amount of pre-canned font style variants.
example
Example aliases
```ts style.light.normal; // 'light' weight, 'normal' size style.normal.normal; // 'normal' weight, 'normal' size style.bold.huge; // 'bold' weight, 'huge' size ```
Hierarchy
Divisions
<
IStyles
>
FontStyle
Implements
IDivisions
<
IStyles
>
IFontStyle
ILength
<
IStyles
>
Index
Constructors
constructor
Accessors
100
200
300
400
500
600
700
800
900
huge
large
larger
largest
normal
small
smaller
smallest
tiny
Methods
__@to
Primitive
Constructors
constructor
new
Font
Style
(
__namedParameters
?:
object
)
:
FontStyle
Parameters
Default value
__namedParameters:
object
= {}
overrides
:
undefined
|
number
|
IFontStyles
|
IDivisionsOverrides
<
number
|
IFontStyles
>
rest
:
rest
Returns
FontStyle
Accessors
100
get
100
(
)
:
IStyles
Returns
IStyles
200
get
200
(
)
:
IStyles
Returns
IStyles
300
get
300
(
)
:
IStyles
Returns
IStyles
400
get
400
(
)
:
IStyles
Returns
IStyles
500
get
500
(
)
:
IStyles
Returns
IStyles
600
get
600
(
)
:
IStyles
Returns
IStyles
700
get
700
(
)
:
IStyles
Returns
IStyles
800
get
800
(
)
:
IStyles
Returns
IStyles
900
get
900
(
)
:
IStyles
Returns
IStyles
huge
get
huge
(
)
:
IStyles
Returns
IStyles
large
get
large
(
)
:
IStyles
Returns
IStyles
larger
get
larger
(
)
:
IStyles
Returns
IStyles
largest
get
largest
(
)
:
IStyles
Returns
IStyles
normal
get
normal
(
)
:
IStyles
Returns
IStyles
small
get
small
(
)
:
IStyles
Returns
IStyles
smaller
get
smaller
(
)
:
IStyles
Returns
IStyles
smallest
get
smallest
(
)
:
IStyles
Returns
IStyles
tiny
get
tiny
(
)
:
IStyles
Returns
IStyles
Methods
__@to
Primitive
__@to
Primitive
(
hint
:
"string"
|
"number"
|
"default"
)
:
number
|
string
Parameters
hint:
"string"
|
"number"
|
"default"
Returns
number
|
string
Globals
"font/
Style"
Font
Style
constructor
100
200
300
400
500
600
700
800
900
huge
large
larger
largest
normal
small
smaller
smallest
tiny
__@to
Primitive
IFont
Style
Options
Font
Style
Base
font
Style
Letter
Spacing
font
Style
Line
Height
font
Style
Slope
letter
Spacing
line
Height
slope
convert
The font style class provides a huge amount of pre-canned font style variants.