mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 03:11:08 +01:00
Moving some documentation tags about of PApplet
This commit is contained in:
@@ -12,7 +12,7 @@ PGraphics pg;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
pg = createGraphics(400, 200, P2D);
|
||||
pg = createGraphics(400, 200);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
PShape star;
|
||||
|
||||
void setup() {
|
||||
size(640, 360,P2D);
|
||||
size(640, 360, P2D);
|
||||
smooth();
|
||||
// First create the shape
|
||||
star = createShape();
|
||||
|
||||
@@ -13,7 +13,7 @@ void setup() {
|
||||
smooth();
|
||||
// Creating the PShape as an ellipse
|
||||
// The corner is -50,-50 so that the center is at 0,0
|
||||
circle = createShape(RECT,-50,-25,100,50);
|
||||
circle = createShape(RECT, -50, -25, 100, 50);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
@@ -21,7 +21,7 @@ void draw() {
|
||||
// We can dynamically set the stroke and fill of the shape
|
||||
circle.stroke(255);
|
||||
circle.strokeWeight(4);
|
||||
circle.fill(map(mouseX,0,width,0,255));
|
||||
circle.fill(map(mouseX, 0, width, 0, 255));
|
||||
// We can use translate to move the PShape
|
||||
translate(mouseX, mouseY);
|
||||
// Drawing the PShape
|
||||
|
||||
@@ -230,8 +230,7 @@ void KEYWORD1 void
|
||||
volatile KEYWORD1
|
||||
while KEYWORD1 while
|
||||
|
||||
|
||||
# Depricated API
|
||||
# Deprecated API
|
||||
|
||||
arraycopy KEYWORD2 arrayCopy_
|
||||
openStream KEYWORD2 openStream_
|
||||
@@ -246,7 +245,7 @@ boolean KEYWORD2 booleanconvert_
|
||||
byte KEYWORD2 byteconvert_
|
||||
cache KEYWORD2
|
||||
char KEYWORD2 charconvert_
|
||||
color KEYWORD1 color_datatype
|
||||
color KEYWORD1 color_datatype
|
||||
start KEYWORD2
|
||||
stop KEYWORD2
|
||||
breakShape KEYWORD2
|
||||
@@ -625,13 +624,13 @@ unhex KEYWORD2 unhex_
|
||||
updatePixels KEYWORD2 updatePixels_
|
||||
vertex KEYWORD2 vertex_
|
||||
width KEYWORD5 width
|
||||
XMLElement KEYWORD2 XMLElement_
|
||||
getChild KEYWORD3 XMLElement_getChild_
|
||||
getChildCount KEYWORD3 XMLElement_getChildCount_
|
||||
getChildren KEYWORD3 XMLElement_getChildren_
|
||||
getContent KEYWORD3 XMLElement_getContent_
|
||||
getFloat KEYWORD3 XMLElement_getFloat_
|
||||
getInt KEYWORD3 XMLElement_getInt_
|
||||
getName KEYWORD3 XMLElement_getName_
|
||||
getString KEYWORD3 XMLElement_getString_
|
||||
XMLElement KEYWORD2 XML_
|
||||
getChild KEYWORD3 XML_getChild_
|
||||
getChildCount KEYWORD3 XML_getChildCount_
|
||||
getChildren KEYWORD3 XML_getChildren_
|
||||
getContent KEYWORD3 XML_getContent_
|
||||
getFloat KEYWORD3 XML_getFloat_
|
||||
getInt KEYWORD3 XML_getInt_
|
||||
getName KEYWORD3 XML_getName_
|
||||
getString KEYWORD3 XML_getString_
|
||||
year KEYWORD2 year_
|
||||
|
||||
Reference in New Issue
Block a user