From OpenSCADAWiki
Table. List of additional properties/attributes of the primitive "Text element (Text)"
Identifier | Name | Number | Value |
---|---|---|---|
backColor | Background: color | 20 | Background color. Color name in the view "{color}[-{alpha}]", where:
Examples:
|
backImg | Background: image | 21 | Background image. The image name in the view "[{src}:]{name}", where:
Examples:
|
bordWidth | Border: width | 22 | Border width. |
bordColor | Border: color | 23 | Border color (details in attribute 20). |
bordStyle | Border: style | 24 | Border style: "None" (0), "Dotted" (1), "Dashed" (2), "Solid" (3), "Double" (4), "Groove" (5), "Ridge" (6), "Inset" (7), "Outset" (8). |
font | Font | 25 | Font name in the view "{family} {size} {bold} {italic} {underline} {strike}", where:
Examples:
|
color | Color | 26 | Text color (details in attribute 20). |
orient | Orientation angle | 27 | Orientation of the text, the angle of rotation. |
wordWrap | Word wrap | 28 | Automatically wrap text by words. |
alignment | Alignment | 29 | Alignment of the text: "Top left" (0), "Top right" (1), "Top center" (2), "Top justify" (3), "Bottom left" (4), "Bottom right" (5), "Bottom center" (6), "Bottom justify" (7), "V center left" (8), "V center right" (9), "Center" (10), "V center justify" (11). |
inHtml | In HTML | 31 | Displays and supports the content of the argument text in HTML. |
text | Text | 30 | Text value. Use "%{x}" to place the value of the argument 'x' (from 1). |
numbArg | Arguments number | 40 | Arguments number. |
Attributes of the arguments | |||
arg{x}val | Argument {x}: value | 50+10*x | Argument x value. |
arg{x}tp | Argument {x}: type | 50+10*x+1 | Argument x type: "Integer" (0), "Real" (1), "String" (2). |
arg{x}cfg | Argument {x}: config | 50+10*x+2 | Argument x configuration:
|