Added several related references for textSize(), per processing/processing-docs#29

This commit is contained in:
Scott Murray
2014-08-04 17:36:41 -07:00
parent 0427c342cc
commit b2a4d59076
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -12956,6 +12956,7 @@ public class PApplet extends Applet
* @see PApplet#loadFont(String)
* @see PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textSize(float)
*/
public void textAlign(int alignX, int alignY) {
if (recorder != null) recorder.textAlign(alignX, alignY);
@@ -13026,6 +13027,7 @@ public class PApplet extends Applet
* @see PApplet#loadFont(String)
* @see PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textSize(float)
*/
public void textFont(PFont which) {
if (recorder != null) recorder.textFont(which);
@@ -13056,6 +13058,7 @@ public class PApplet extends Applet
* @see PFont#PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textFont(PFont)
* @see PGraphics#textSize(float)
*/
public void textLeading(float leading) {
if (recorder != null) recorder.textLeading(leading);
@@ -13143,6 +13146,7 @@ public class PApplet extends Applet
* @see PFont#PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textFont(PFont)
* @see PGraphics#textSize(float)
*/
public float textWidth(String str) {
return g.textWidth(str);
+4
View File
@@ -3898,6 +3898,7 @@ public class PGraphics extends PImage implements PConstants {
* @see PApplet#loadFont(String)
* @see PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textSize(float)
*/
public void textAlign(int alignX, int alignY) {
textAlign = alignX;
@@ -3974,6 +3975,7 @@ public class PGraphics extends PImage implements PConstants {
* @see PApplet#loadFont(String)
* @see PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textSize(float)
*/
public void textFont(PFont which) {
if (which != null) {
@@ -4037,6 +4039,7 @@ public class PGraphics extends PImage implements PConstants {
* @see PFont#PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textFont(PFont)
* @see PGraphics#textSize(float)
*/
public void textLeading(float leading) {
textLeading = leading;
@@ -4153,6 +4156,7 @@ public class PGraphics extends PImage implements PConstants {
* @see PFont#PFont
* @see PGraphics#text(String, float, float)
* @see PGraphics#textFont(PFont)
* @see PGraphics#textSize(float)
*/
public float textWidth(String str) {
if (textFont == null) {