You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/typography/attributes.js
+19-16
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,8 @@ import p5 from '../core/main';
39
39
* text('EFGH', 50, 50);
40
40
* textAlign(LEFT);
41
41
* text('IJKL', 50, 70);
42
+
* describe(`Letters ABCD displayed at top left, EFGH at center, and
43
+
* IJKL at bottom right.`);
42
44
* </code>
43
45
* </div>
44
46
*
@@ -62,12 +64,12 @@ import p5 from '../core/main';
62
64
* line(0, 87, width, 87);
63
65
* textAlign(CENTER, BOTTOM);
64
66
* text('BOTTOM', 0, 87, width);
67
+
*
68
+
* describe(`The names of the four vertical alignments (TOP, CENTER, BASELINE,
69
+
* and BOTTOM) rendered each showing that alignment's placement relative to a
70
+
* horizontal line.`);
65
71
* </code>
66
72
* </div>
67
-
*
68
-
* @alt
69
-
* Letters ABCD displayed at top left, EFGH at center and IJKL at bottom right.
70
-
* The names of the four vertical alignments (TOP, CENTER, BASELINE & BOTTOM) rendered each showing that alignment's placement relative to a horizontal line.
0 commit comments