Fixes processing/processing-docs#104 by hiding PFont and PGraphics constructors from reference

This commit is contained in:
Scott Murray
2014-08-17 10:38:14 -07:00
parent 1e41b8665b
commit 17184df4af
2 changed files with 12 additions and 5 deletions
+11 -5
View File
@@ -165,7 +165,9 @@ public class PFont implements PConstants {
/** for subclasses that need to store metadata about the font */
// protected HashMap<PGraphics, Object> cacheMap;
/**
* @nowebref
*/
public PFont() { } // for subclasses
@@ -186,7 +188,7 @@ public class PFont implements PConstants {
*
* ( end auto-generated )
*
* @webref typography:pfont
* @nowebref
* @param font font the font object to create from
* @param smooth smooth true to enable smoothing/anti-aliasing
*/
@@ -199,6 +201,7 @@ public class PFont implements PConstants {
* Create a new image-based font on the fly. If charset is set to null,
* the characters will only be created as bitmaps when they're drawn.
*
* @nowebref
* @param charset array of all unicode chars that should be included
*/
public PFont(Font font, boolean smooth, char charset[]) {
@@ -323,15 +326,18 @@ public class PFont implements PConstants {
/**
* Adds an additional parameter that indicates the font came from a file,
* not a built-in OS font.
*
* @nowebref
*/
public PFont(Font font, boolean smooth, char charset[], boolean stream) {
this(font, smooth, charset);
this.stream = stream;
}
/**
* @param input InputStream
*/
/**
* @nowebref
* @param input InputStream
*/
public PFont(InputStream input) throws IOException {
DataInputStream is = new DataInputStream(input);
+1
View File
@@ -680,6 +680,7 @@ public class PGraphics extends PImage implements PConstants {
* as the first line of a subclass' constructor to properly set
* the internal fields and defaults.
*
* @nowebref
*/
public PGraphics() {
}