Getting started
Resources
Flex
Spacing
Layout
Size
Typography
Background
Border
Transition
Utility classes for changing an element's text stroke property.
Classes for text stroke are named using the format: [text]-[stroke]-[value]
.
Where value includes:
#
- px value for that -unity-text-outline-width property. By default, stroke classes start at 0px, and increment by 1px until stopping at 5px.Class | Contents |
|
|
|
|
|
|
|
|
|
|
|
|
Note that -unity-text-outline-width: 0px
is the default value for text stroke in Unity. Unless the value needs to be overridden from a parent, the text-stroke-0
class is not needed.
UXML
On this page