Skip to content

Commit bd75714

Browse files
committed
Added several related references to PFont and text(), per processing/processing-docs#29
1 parent f372086 commit bd75714

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

core/src/processing/core/PApplet.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12957,6 +12957,8 @@ public void textAlign(int alignX) {
1295712957
* @see PFont
1295812958
* @see PGraphics#text(String, float, float)
1295912959
* @see PGraphics#textSize(float)
12960+
* @see PGraphics#textAscent()
12961+
* @see PGraphics#textDescent()
1296012962
*/
1296112963
public void textAlign(int alignX, int alignY) {
1296212964
if (recorder != null) recorder.textAlign(alignX, alignY);
@@ -13188,6 +13190,10 @@ public float textWidth(char[] chars, int start, int length) {
1318813190
* @see PGraphics#textFont(PFont)
1318913191
* @see PGraphics#textMode(int)
1319013192
* @see PGraphics#textSize(float)
13193+
* @see PGraphics#textLeading(float)
13194+
* @see PGraphics#textWidth(String)
13195+
* @see PGraphics#textAscent()
13196+
* @see PGraphics#textDescent()
1319113197
* @see PGraphics#rectMode(int)
1319213198
* @see PGraphics#fill(int, float)
1319313199
* @see_external String

core/src/processing/core/PFont.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
* </PRE>
5757
* @webref typography
5858
* @see PApplet#loadFont(String)
59+
* @see PApplet#createFont(String, float, boolean, char[])
5960
* @see PGraphics#textFont(PFont)
60-
* @see PGraphics#text(char, float, float)
6161
*/
6262
public class PFont implements PConstants {
6363

core/src/processing/core/PGraphics.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3899,6 +3899,8 @@ public void textAlign(int alignX) {
38993899
* @see PFont
39003900
* @see PGraphics#text(String, float, float)
39013901
* @see PGraphics#textSize(float)
3902+
* @see PGraphics#textAscent()
3903+
* @see PGraphics#textDescent()
39023904
*/
39033905
public void textAlign(int alignX, int alignY) {
39043906
textAlign = alignX;
@@ -4241,6 +4243,10 @@ protected float textWidthImpl(char buffer[], int start, int stop) {
42414243
* @see PGraphics#textFont(PFont)
42424244
* @see PGraphics#textMode(int)
42434245
* @see PGraphics#textSize(float)
4246+
* @see PGraphics#textLeading(float)
4247+
* @see PGraphics#textWidth(String)
4248+
* @see PGraphics#textAscent()
4249+
* @see PGraphics#textDescent()
42444250
* @see PGraphics#rectMode(int)
42454251
* @see PGraphics#fill(int, float)
42464252
* @see_external String

0 commit comments

Comments
 (0)