Skip to content

Commit f2e658a

Browse files
committed
Added several related references for textSize(), per processing/processing-docs#29
1 parent ee6555f commit f2e658a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

core/src/processing/core/PApplet.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12956,6 +12956,7 @@ public void textAlign(int alignX) {
1295612956
* @see PApplet#loadFont(String)
1295712957
* @see PFont
1295812958
* @see PGraphics#text(String, float, float)
12959+
* @see PGraphics#textSize(float)
1295912960
*/
1296012961
public void textAlign(int alignX, int alignY) {
1296112962
if (recorder != null) recorder.textAlign(alignX, alignY);
@@ -13026,6 +13027,7 @@ public float textDescent() {
1302613027
* @see PApplet#loadFont(String)
1302713028
* @see PFont
1302813029
* @see PGraphics#text(String, float, float)
13030+
* @see PGraphics#textSize(float)
1302913031
*/
1303013032
public void textFont(PFont which) {
1303113033
if (recorder != null) recorder.textFont(which);
@@ -13056,6 +13058,7 @@ public void textFont(PFont which, float size) {
1305613058
* @see PFont#PFont
1305713059
* @see PGraphics#text(String, float, float)
1305813060
* @see PGraphics#textFont(PFont)
13061+
* @see PGraphics#textSize(float)
1305913062
*/
1306013063
public void textLeading(float leading) {
1306113064
if (recorder != null) recorder.textLeading(leading);
@@ -13143,6 +13146,7 @@ public float textWidth(char c) {
1314313146
* @see PFont#PFont
1314413147
* @see PGraphics#text(String, float, float)
1314513148
* @see PGraphics#textFont(PFont)
13149+
* @see PGraphics#textSize(float)
1314613150
*/
1314713151
public float textWidth(String str) {
1314813152
return g.textWidth(str);

core/src/processing/core/PGraphics.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,6 +3898,7 @@ public void textAlign(int alignX) {
38983898
* @see PApplet#loadFont(String)
38993899
* @see PFont
39003900
* @see PGraphics#text(String, float, float)
3901+
* @see PGraphics#textSize(float)
39013902
*/
39023903
public void textAlign(int alignX, int alignY) {
39033904
textAlign = alignX;
@@ -3974,6 +3975,7 @@ public float textDescent() {
39743975
* @see PApplet#loadFont(String)
39753976
* @see PFont
39763977
* @see PGraphics#text(String, float, float)
3978+
* @see PGraphics#textSize(float)
39773979
*/
39783980
public void textFont(PFont which) {
39793981
if (which != null) {
@@ -4037,6 +4039,7 @@ public void textFont(PFont which, float size) {
40374039
* @see PFont#PFont
40384040
* @see PGraphics#text(String, float, float)
40394041
* @see PGraphics#textFont(PFont)
4042+
* @see PGraphics#textSize(float)
40404043
*/
40414044
public void textLeading(float leading) {
40424045
textLeading = leading;
@@ -4153,6 +4156,7 @@ public float textWidth(char c) {
41534156
* @see PFont#PFont
41544157
* @see PGraphics#text(String, float, float)
41554158
* @see PGraphics#textFont(PFont)
4159+
* @see PGraphics#textSize(float)
41564160
*/
41574161
public float textWidth(String str) {
41584162
if (textFont == null) {

0 commit comments

Comments
 (0)