mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
parent
97de0d8ad8
commit
bc458ebb26
1 changed files with 3 additions and 0 deletions
|
@ -738,6 +738,9 @@ and the text itself.
|
||||||
- **`stroke`** (_in_ _brush_): The brush used for the text outline (default value: `transparent`).
|
- **`stroke`** (_in_ _brush_): The brush used for the text outline (default value: `transparent`).
|
||||||
- **`stroke-width`** (_in_ _length_): The width of the text outline. If the width is zero, then a hairline stroke (1 physical pixel) will be rendered.
|
- **`stroke-width`** (_in_ _length_): The width of the text outline. If the width is zero, then a hairline stroke (1 physical pixel) will be rendered.
|
||||||
- **`stroke-style`** (_in_ _enum [`TextStrokeStyle`](enums.md#textstrokestyle)_): The style/alignment of the text outline (default value: `outside`).
|
- **`stroke-style`** (_in_ _enum [`TextStrokeStyle`](enums.md#textstrokestyle)_): The style/alignment of the text outline (default value: `outside`).
|
||||||
|
- **`rotation-angle`** (_in_ _angle_), **`rotation-origin-x`** (_in_ _length_), **`rotation-origin-y`** (_in_ _length_):
|
||||||
|
Rotates the text by the given angle around the specified origin point. The default origin point is the center of the element.
|
||||||
|
When these properties are set, the `Text` can't have children.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue