diff --git a/docs/0.60/text.html b/docs/0.60/text.html index 87f83ab617c..901d36a227b 100644 --- a/docs/0.60/text.html +++ b/docs/0.60/text.html @@ -613,39 +613,9 @@
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset: object: {width: number,height: number}
color: color
fontSize: number
fontStyle: enum('normal', 'italic')
fontWeight: enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
lineHeight: number
textAlign: enum('auto', 'left', 'right', 'center', 'justify')
Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
textDecorationLine: enum('none', 'underline', 'line-through', 'underline line-through')
textShadowColor: color
fontFamily: string
textShadowRadius: number
includeFontPadding: bool (Android)
Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
textAlignVertical: enum('auto', 'top', 'bottom', 'center') (Android)
fontVariant: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (iOS)
letterSpacing: number
Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.
-iOS: The additional space will be rendered after each glyph.
-Android: Only supported since Android 5.0 - older versions will ignore this attribute. Please note that additional space will be added around the glyphs (half on each side), which differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout attributes, e.g. negative margins, as appropriate for your situation.
textDecorationColor: color (iOS)
textDecorationStyle: enum('solid', 'double', 'dotted', 'dashed') (iOS)
textTransform: enum('none', 'uppercase', 'lowercase', 'capitalize')
writingDirection: enum('auto', 'ltr', 'rtl') (iOS)
suppressHighlightingWhen true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
textShadowOffset| Type | Required |
|---|---|
| object: {width: number,height: number} | No |
color| Type | Required |
|---|---|
| Type | |
| color | No |
fontSize| Type | Required |
|---|---|
| number | No |
fontStyle| Type | Required |
|---|---|
| enum('normal', 'italic') | No |
fontWeightSpecifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
-| Type | Required |
|---|---|
| enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900') | No |
lineHeight| Type | Required |
|---|---|
| number | No |
textAlignSpecifies text alignment. The value 'justify' is only supported on iOS and fallbacks to left on Android.
| Type | Required |
|---|---|
| enum('auto', 'left', 'right', 'center', 'justify') | No |
textDecorationLine| Type | Required |
|---|---|
| enum('none', 'underline', 'line-through', 'underline line-through') | No |
textShadowColor| Type | Required |
|---|---|
| color | No |
| color |
fontFamily| Type | Required |
|---|---|
| Type | |
| string | No |
| string |
textShadowRadiusfontSize| Type | Required |
|---|---|
| Type | |
| number | No |
| number |
includeFontPaddingSet to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center. Default is true.
fontStyle| Type | Required | Platform |
|---|---|---|
| Type | ||
| bool | No | Android |
enum('normal', 'italic') |
textAlignVerticalfontWeightSpecifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.
| Type | Required | Platform |
|---|---|---|
| Type | Default | |
| enum('auto', 'top', 'bottom', 'center') | No | Android |
enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900') | 'normal' |
includeFontPadding Set to false to remove extra font padding intended to make space for certain ascenders / descenders. With some fonts, this padding can make text look slightly misaligned when centered vertically. For best results also set textAlignVertical to center.
| Type | Default |
|---|---|
| bool | true |
fontVariant| Type | Required | Platform |
|---|---|---|
| Type | Default | |
| array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') | No | iOS, Android >= 5.0 |
array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') | [] |
letterSpacingIncrease or decrease the spacing between characters. By default there is no extra letter spacing.
| Type | Required | Platform |
|---|---|---|
| Type | ||
| number | No | iOS, Android >= 5.0 |
| number |
textDecorationColorlineHeight| Type | Required | Platform |
|---|---|---|
| Type | ||
| color | No | iOS |
| number |
textDecorationStyletextAlignSpecifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to left on lower Android versions.
| Type | Required | Platform |
|---|---|---|
| Type | Default | |
| enum('solid', 'double', 'dotted', 'dashed') | No | iOS |
enum('auto', 'left', 'right', 'center', 'justify') | 'auto' |
textAlignVertical | Type | Default |
|---|---|
enum('auto', 'top', 'bottom', 'center') | 'auto' |
textDecorationColor | Type |
|---|
| color |
textDecorationLine| Type | Default |
|---|---|
enum('none', 'underline', 'line-through', 'underline line-through') | 'none' |
textDecorationStyle | Type | Default |
|---|---|
enum('solid', 'double', 'dotted', 'dashed') | 'solid' |
textShadowColor| Type |
|---|
| color |
textShadowOffset| Type |
|---|
| object: { width?: number, height?: number } |
textShadowRadius| Type |
|---|
| number |
textTransform| Type | Required |
|---|---|
| Type | Default |
| enum('none', 'uppercase', 'lowercase', 'capitalize') | No |
enum('none', 'uppercase', 'lowercase', 'capitalize') | 'none' |
writingDirectionwritingDirection | Type | Required | Platform |
|---|---|---|
| Type | Default | |
| enum('auto', 'ltr', 'rtl') | No | iOS |
enum('auto', 'ltr', 'rtl') | 'auto' |