| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -654,13 +654,8 @@ static public class RendererChangeException extends RuntimeException { } | |||
| 654 | 654 | public boolean focused = false; | |
| 655 | 655 | ||
| 656 | 656 | /** | |
| 657 | - * ( begin auto-generated from online.xml ) | ||
| 658 | - * | ||
| 659 | 657 | * Confirms if a Processing program is running inside a web browser. This | |
| 660 | 658 | * variable is "true" if the program is online and "false" if not. | |
| 661 | - * | ||
| 662 | - * ( end auto-generated ) | ||
| 663 | - * @webref environment | ||
| 664 | 659 | */ | |
| 665 | 660 | @Deprecated | |
| 666 | 661 | public boolean online = false; | |
@@ -3085,19 +3080,12 @@ public void frameRate(float fps) { | |||
| 3085 | 3080 | ||
| 3086 | 3081 | ||
| 3087 | 3082 | /** | |
| 3088 | - * ( begin auto-generated from param.xml ) | ||
| 3089 | - * | ||
| 3090 | 3083 | * Reads the value of a param. Values are always read as a String so if you | |
| 3091 | 3084 | * want them to be an integer or other datatype they must be converted. The | |
| 3092 | 3085 | * <b>param()</b> function will only work in a web browser. The function | |
| 3093 | 3086 | * should be called inside <b>setup()</b>, otherwise the applet may not yet | |
| 3094 | 3087 | * be initialized and connected to its parent web browser. | |
| 3095 | 3088 | * | |
| 3096 | - * ( end auto-generated ) | ||
| 3097 | - * | ||
| 3098 | - * @webref input:web | ||
| 3099 | - * @usage Web | ||
| 3100 | - * | ||
| 3101 | 3089 | * @param name name of the param to read | |
| 3102 | 3090 | * @deprecated no more applet support | |
| 3103 | 3091 | */ | |
@@ -3113,21 +3101,11 @@ public String param(String name) { | |||
| 3113 | 3101 | ||
| 3114 | 3102 | ||
| 3115 | 3103 | /** | |
| 3116 | - * ( begin auto-generated from status.xml ) | ||
| 3117 | - * | ||
| 3118 | - * Displays message in the browser's status area. This is the text area in | ||
| 3119 | - * the lower left corner of the browser. The <b>status()</b> function will | ||
| 3120 | - * only work when the Processing program is running in a web browser. | ||
| 3121 | - * | ||
| 3122 | - * ( end auto-generated ) | ||
| 3123 | 3104 | * <h3>Advanced</h3> | |
| 3124 | 3105 | * Show status in the status bar of a web browser, or in the | |
| 3125 | 3106 | * System.out console. Eventually this might show status in the | |
| 3126 | 3107 | * p5 environment itself, rather than relying on the console. | |
| 3127 | 3108 | * | |
| 3128 | - * @webref input:web | ||
| 3129 | - * @usage Web | ||
| 3130 | - * @param value any valid String | ||
| 3131 | 3109 | * @deprecated no more applet support | |
| 3132 | 3110 | */ | |
| 3133 | 3111 | public void status(String value) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3278,7 +3278,11 @@ protected void splineForward(int segments, PMatrix3D matrix) { | |||
| 3278 | 3278 | public void smooth() { | |
| 3279 | 3279 | smooth = true; | |
| 3280 | 3280 | } | |
| 3281 | - | ||
| 3281 | + | ||
| 3282 | + /** | ||
| 3283 | + * | ||
| 3284 | + * @param level either 2, 4, or 8 | ||
| 3285 | + */ | ||
| 3282 | 3286 | public void smooth(int level) { | |
| 3283 | 3287 | smooth = true; | |
| 3284 | 3288 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ PGraphics pg; | |||
| 12 | 12 | ||
| 13 | 13 | void setup() { | |
| 14 | 14 | size(640, 360); | |
| 15 | - pg = createGraphics(400, 200, P2D); | ||
| 15 | + pg = createGraphics(400, 200); | ||
| 16 | 16 | } | |
| 17 | 17 | ||
| 18 | 18 | void draw() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ | |||
| 9 | 9 | PShape star; | |
| 10 | 10 | ||
| 11 | 11 | void setup() { | |
| 12 | - size(640, 360,P2D); | ||
| 12 | + size(640, 360, P2D); | ||
| 13 | 13 | smooth(); | |
| 14 | 14 | // First create the shape | |
| 15 | 15 | star = createShape(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,15 +13,15 @@ void setup() { | |||
| 13 | 13 | smooth(); | |
| 14 | 14 | // Creating the PShape as an ellipse | |
| 15 | 15 | // The corner is -50,-50 so that the center is at 0,0 | |
| 16 | - circle = createShape(RECT,-50,-25,100,50); | ||
| 16 | + circle = createShape(RECT, -50, -25, 100, 50); | ||
| 17 | 17 | } | |
| 18 | 18 | ||
| 19 | 19 | void draw() { | |
| 20 | 20 | background(51); | |
| 21 | 21 | // We can dynamically set the stroke and fill of the shape | |
| 22 | 22 | circle.stroke(255); | |
| 23 | 23 | circle.strokeWeight(4); | |
| 24 | - circle.fill(map(mouseX,0,width,0,255)); | ||
| 24 | + circle.fill(map(mouseX, 0, width, 0, 255)); | ||
| 25 | 25 | // We can use translate to move the PShape | |
| 26 | 26 | translate(mouseX, mouseY); | |
| 27 | 27 | // Drawing the PShape | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -230,8 +230,7 @@ void KEYWORD1 void | |||
| 230 | 230 | volatile KEYWORD1 | |
| 231 | 231 | while KEYWORD1 while | |
| 232 | 232 | ||
| 233 | - | ||
| 234 | - # Depricated API | ||
| 233 | + # Deprecated API | ||
| 235 | 234 | ||
| 236 | 235 | arraycopy KEYWORD2 arrayCopy_ | |
| 237 | 236 | openStream KEYWORD2 openStream_ | |
@@ -246,7 +245,7 @@ boolean KEYWORD2 booleanconvert_ | |||
| 246 | 245 | byte KEYWORD2 byteconvert_ | |
| 247 | 246 | cache KEYWORD2 | |
| 248 | 247 | char KEYWORD2 charconvert_ | |
| 249 | - color KEYWORD1 color_datatype | ||
| 248 | + color KEYWORD1 color_datatype | ||
| 250 | 249 | start KEYWORD2 | |
| 251 | 250 | stop KEYWORD2 | |
| 252 | 251 | breakShape KEYWORD2 | |
@@ -625,13 +624,13 @@ unhex KEYWORD2 unhex_ | |||
| 625 | 624 | updatePixels KEYWORD2 updatePixels_ | |
| 626 | 625 | vertex KEYWORD2 vertex_ | |
| 627 | 626 | width KEYWORD5 width | |
| 628 | - XMLElement KEYWORD2 XMLElement_ | ||
| 629 | - getChild KEYWORD3 XMLElement_getChild_ | ||
| 630 | - getChildCount KEYWORD3 XMLElement_getChildCount_ | ||
| 631 | - getChildren KEYWORD3 XMLElement_getChildren_ | ||
| 632 | - getContent KEYWORD3 XMLElement_getContent_ | ||
| 633 | - getFloat KEYWORD3 XMLElement_getFloat_ | ||
| 634 | - getInt KEYWORD3 XMLElement_getInt_ | ||
| 635 | - getName KEYWORD3 XMLElement_getName_ | ||
| 636 | - getString KEYWORD3 XMLElement_getString_ | ||
| 627 | + XMLElement KEYWORD2 XML_ | ||
| 628 | + getChild KEYWORD3 XML_getChild_ | ||
| 629 | + getChildCount KEYWORD3 XML_getChildCount_ | ||
| 630 | + getChildren KEYWORD3 XML_getChildren_ | ||
| 631 | + getContent KEYWORD3 XML_getContent_ | ||
| 632 | + getFloat KEYWORD3 XML_getFloat_ | ||
| 633 | + getInt KEYWORD3 XML_getInt_ | ||
| 634 | + getName KEYWORD3 XML_getName_ | ||
| 635 | + getString KEYWORD3 XML_getString_ | ||
| 637 | 636 | year KEYWORD2 year_ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments