1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-02-19 23:24:39 +01:00
dotSCAD/docs/lib-multi_line_text.md
2019-02-01 16:27:40 +08:00

23 lines
475 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
include <multi_line_text.scad>;
multi_line_text(
["Welcome", "to", "Taiwan"],
line_spacing = 15,
valign = "center",
halign = "center"
);
![multi_line_text](images/lib-multi_line_text-1.JPG)