| ctext index |
|||||||||||||
| Name | createLinesFromFile ( ) | ||||||||||||
| Examples | size(500, 300); CText.setAlignment(LEFT); CText[] cts = CText.makeLinesFromFile(this, "file.txt", 30, 50); |
||||||||||||
| Description | Creates an array of Ctext from a file, one per line of input text, constrained to the default-maxChars, starting with upper left corner at width/2 and height/2 or null if null or empty input | ||||||||||||
| Syntax | createLinesFromFile(p, fileName); createLinesFromFile(p, fileName, x, y); |
||||||||||||
| Parameters |
|
||||||||||||
| Returns | CText[] or null | ||||||||||||
| Usage | Web & Application | ||||||||||||
| Related | |||||||||||||