Skip to content

Commit bf8ca5c

Browse files
author
Scott Murray
committed
Fixes processing/processing-docs#104 by hiding PFont and PGraphics constructors from reference
1 parent 4a3b082 commit bf8ca5c

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

core/src/processing/core/PFont.java

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ public class PFont implements PConstants {
165165
/** for subclasses that need to store metadata about the font */
166166
// protected HashMap<PGraphics, Object> cacheMap;
167167

168-
168+
/**
169+
* @nowebref
170+
*/
169171
public PFont() { } // for subclasses
170172

171173

@@ -186,7 +188,7 @@ public PFont() { } // for subclasses
186188
*
187189
* ( end auto-generated )
188190
*
189-
* @webref typography:pfont
191+
* @nowebref
190192
* @param font font the font object to create from
191193
* @param smooth smooth true to enable smoothing/anti-aliasing
192194
*/
@@ -199,6 +201,7 @@ public PFont(Font font, boolean smooth) {
199201
* Create a new image-based font on the fly. If charset is set to null,
200202
* the characters will only be created as bitmaps when they're drawn.
201203
*
204+
* @nowebref
202205
* @param charset array of all unicode chars that should be included
203206
*/
204207
public PFont(Font font, boolean smooth, char charset[]) {
@@ -323,15 +326,18 @@ public PFont(Font font, boolean smooth, char charset[]) {
323326
/**
324327
* Adds an additional parameter that indicates the font came from a file,
325328
* not a built-in OS font.
329+
*
330+
* @nowebref
326331
*/
327332
public PFont(Font font, boolean smooth, char charset[], boolean stream) {
328333
this(font, smooth, charset);
329334
this.stream = stream;
330335
}
331336

332-
/**
333-
* @param input InputStream
334-
*/
337+
/**
338+
* @nowebref
339+
* @param input InputStream
340+
*/
335341
public PFont(InputStream input) throws IOException {
336342
DataInputStream is = new DataInputStream(input);
337343

core/src/processing/core/PGraphics.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ public class PGraphics extends PImage implements PConstants {
680680
* as the first line of a subclass' constructor to properly set
681681
* the internal fields and defaults.
682682
*
683+
* @nowebref
683684
*/
684685
public PGraphics() {
685686
}

0 commit comments

Comments
 (0)