Skip to content

Commit 5af5ad8

Browse files
committed
New layout draft for Typography tutorial, part 13
1 parent 3fb2da2 commit 5af5ad8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/static/tutorials/typography/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h3>Draw text</h3>
3030
The text() function is used to draw letters, words, and paragraphs to the screen. In the simplest use, the first parameter can be a String, char, int, or float. The second and third parameters set the position of the text. By default, the second parameter defines the distance from the left edge of the window; the third parameter defines the distance from the text’s baseline to the top of the window. The textSize() function defines the size the letters will draw in units of pixels. The number used to define the text size will not be the precise height of each letter, the difference depends on the design of each font. For instance, the statement textSize(30); won’t necessarily draw a capital H at 30 pixels high. The fill() function controls the color and transparency of text. This function affects text the same way it affects shapes such as rect() and ellipse(), but text is not affected by stroke().
3131
</p>
3232

33-
<table style="width: 650" border="1">
33+
<table style="width: 650">
3434
<tr>
3535
<td style="width: 120px; float:left;"><img src="imgs/12_01.png" style="width: 100px; height: 100px;"></td>
3636
<td style="width: 530px;">
@@ -50,7 +50,7 @@ <h3>Draw text</h3>
5050

5151
<p>&nbsp;</p>
5252

53-
<table style="width: 650" border="1">
53+
<table style="width: 650">
5454
<tr>
5555
<td style="width: 120px; float:left;"><img src="imgs/12_02.png" style="width: 100px; height: 100px;"></td>
5656
<td style="width: 530px;">
@@ -67,7 +67,7 @@ <h3>Draw text</h3>
6767

6868
<p>&nbsp;</p>
6969

70-
<table style="width: 650" border="1">
70+
<table style="width: 650">
7171
<tr>
7272
<td style="width: 120px; float:left;"><img src="imgs/12_03.png" style="width: 100px; height: 100px;"></td>
7373
<td style="width: 530px;"><pre>textSize(32);
@@ -83,7 +83,7 @@ <h3>Draw text</h3>
8383

8484
<p>&nbsp;</p>
8585

86-
<table style="width: 650" border="1">
86+
<table style="width: 650">
8787
<tr>
8888
<td style="width: 120px; float:left;"><img src="imgs/12_04.png" style="width: 100px; height: 100px;"></td>
8989
<td style="width: 530px;">

0 commit comments

Comments
 (0)