| angle | real (0.0...359.9) |
| font | int (FONT_...) |
| layer | int |
| mirror | int |
| ratio | int |
| size | int |
| spin | int |
| value | string |
| x, y | int (origin point) |
Loop members
| wires() | UL_WIRE (see note) |
Constants
| FONT_VECTOR | vector font |
| FONT_PROPORTIONAL | proportional font |
| FONT_FIXED | fixed font |
See also UL_BOARD, UL_PACKAGE, UL_SHEET, UL_SYMBOL
Note
The wires() loop member always accesses the individual wires the text is composed of when using the vector font, even if the actual font is not FONT_VECTOR.
If the UL_TEXT is derived from a UL_ELEMENT or UL_INSTANCE context, the member values will be those of the actual text as located in the board or sheet drawing.
Example
board(B) {
B.texts(T) {
printf("Text: %s\n", T.value);
}
}
| Index | Copyright © 2003 CadSoft Computer GmbH |