1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib2x-multi_line_text.md
Justin Lin c62b4ef638 rename
2020-03-30 20:13:47 +08:00

23 lines
473 B
Markdown

# multi_line_text
Creates multi-line text from a list of strings. Parameters are the same as the built-in `text` module except the first two parameters.
## Parameters
- `lines` : A list of strings.
- `line_spacing` : Spacing between two lines.
## Examples
use <multi_line_text.scad>;
multi_line_text(
["Welcome", "to", "Taiwan"],
line_spacing = 15,
valign = "center",
halign = "center"
);
![multi_line_text](images/lib2x-multi_line_text-1.JPG)