mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
228 lines
3.2 KiB
INI
228 lines
3.2 KiB
INI
# p r o c e s s i n g keyword reference mapping
|
|
#
|
|
# format:
|
|
# token=filename
|
|
#
|
|
# description:
|
|
# token is the text string to be linked from the processing editor
|
|
# filename is the base filename (without .html extension) in the
|
|
# "reference" directory
|
|
#
|
|
# note that some characters, such as "=", have to be escaped by "\"
|
|
#
|
|
|
|
else=else
|
|
for=for_
|
|
if=if_
|
|
while=while_
|
|
|
|
setup=setup_
|
|
loop=loop_
|
|
|
|
serialEvent=serialEvent_
|
|
soundEvent=soundEvent_
|
|
keyTyped=keyTyped_
|
|
keyPressed=keyPressed_
|
|
keyReleased=keyReleased_
|
|
mouseMoved=mouseMoved_
|
|
mouseDragged=mouseDragged_
|
|
mouseExited=mouseExited_
|
|
mouseReleased=mouseReleased_
|
|
mousePressed=mousePressed_
|
|
mouseClicked=mouseClicked_
|
|
|
|
beginShape=beginShape_
|
|
textureImage=textureImage_
|
|
vertexTexture=vertexTexture_
|
|
vertexNormal=vertexNormal_
|
|
vertex=vertex_
|
|
bezierVertex=bezierVertex_
|
|
curveVertex=curveVertex_
|
|
endShape=endShape_
|
|
|
|
point=point_
|
|
line=line_
|
|
triangle=triangle_
|
|
quad=quad_
|
|
rectMode=rectMode_
|
|
rect=rect_
|
|
ellipseMode=ellipseMode_
|
|
ellipse=ellipse_
|
|
box=box_
|
|
sphere=sphere_
|
|
bezier=bezier_
|
|
curve=curve_
|
|
|
|
loadImage=loadImage_
|
|
image=image_
|
|
imageMode=imageMode_
|
|
cache=cache_
|
|
|
|
loadSound=loadSound_
|
|
microphone=microphone_
|
|
generate=generate_
|
|
synthesize=synthesize_
|
|
volume=volume_
|
|
play=play_
|
|
repeat=repeat_
|
|
pause=pause_
|
|
stop=stop_
|
|
seek=seek_
|
|
in=in_
|
|
out=out_
|
|
|
|
loadFont=loadFont_
|
|
setFont=setFont_
|
|
text=text_
|
|
|
|
push=push_
|
|
pop=pop_
|
|
|
|
project=project_
|
|
translate=translate_
|
|
rotate=rotate_
|
|
rotateX=rotateX_
|
|
rotateY=rotateY_
|
|
rotateZ=rotateZ_
|
|
scale=scale_
|
|
transform=transform_
|
|
|
|
smooth=smooth_
|
|
noSmooth=noSmooth_
|
|
colorMode=colorMode_
|
|
noFill=noFill_
|
|
fill=fill_
|
|
strokeWidth=strokeWidth_
|
|
strokeMode=strokeMode_
|
|
noStroke=noStroke_
|
|
stroke=stroke_
|
|
noBackground=noBackground_
|
|
background=background_
|
|
light=light_
|
|
lights=lights_
|
|
noLights=noLights_
|
|
|
|
loadStream=loadStream_
|
|
loadBytes=loadBytes_
|
|
loadStrings=loadStrings_
|
|
|
|
getPixel=getPixel_
|
|
setPixel=setPixel_
|
|
color=color_
|
|
red=red_
|
|
green=green_
|
|
blue=blue_
|
|
hue=hue_
|
|
saturation=saturation_
|
|
brightness=brightness_
|
|
|
|
size=size_
|
|
;=semicolon
|
|
\==assign
|
|
(=parentheses
|
|
)=parentheses
|
|
,=comma
|
|
//=comment
|
|
/*=multilinecomment
|
|
*/=multilinecomment
|
|
new=new
|
|
{=curlybraces
|
|
}=curlybraces
|
|
[=arrayaccess
|
|
]=arrayaccess
|
|
.=dot
|
|
|
|
print=print_
|
|
println=println_
|
|
|
|
screenGrab=screenGrab_
|
|
|
|
millis=millis_
|
|
second=second_
|
|
minute=minute_
|
|
hour=hour_
|
|
day=day_
|
|
month=month_
|
|
year=year_
|
|
|
|
delay=delay_
|
|
framerate=framerate_
|
|
frequency=frequency_
|
|
|
|
beginSerial=beginSerial_
|
|
endSerial=endSerial_
|
|
serialWrite=serialWrite_
|
|
|
|
beginSound=beginSound_
|
|
|
|
print=print_
|
|
println=println_
|
|
|
|
splitInts=splitInts_
|
|
splitStrings=splitStrings_
|
|
splitFloats=splitFloats_
|
|
|
|
abs=abs_
|
|
sq=sq_
|
|
sqrt=sqrt_
|
|
pow=pow_
|
|
min=min_
|
|
max=max_
|
|
sin=sin_
|
|
cos=cos_
|
|
tan=tan_
|
|
atan2=atan2_
|
|
degrees=degrees_
|
|
radians=radians_
|
|
random=random_
|
|
|
|
byte=byte_
|
|
char=char_
|
|
int=int_
|
|
color=color_
|
|
float=float_
|
|
double=double_
|
|
boolean=boolean_
|
|
void=void
|
|
|
|
BImage=BImage
|
|
BFont=BFont
|
|
BSound=BSound
|
|
|
|
PI=PI
|
|
HALF_PI=HALF_PI
|
|
TWO_PI=TWO_PI
|
|
|
|
mouseX=mouseX
|
|
mouseY=mouseY
|
|
pmouseX=pmouseX
|
|
pmouseY=pmouseY
|
|
serial=serial
|
|
key=key
|
|
width=width
|
|
height=height
|
|
pixels=pixels
|
|
|
|
nf=nf_
|
|
|
|
+=add
|
|
-=subtract
|
|
*=multiply
|
|
/=divide
|
|
++=increment
|
|
--=decrement
|
|
%=modulo
|
|
+\==addassign
|
|
-\==subtractassign
|
|
-=negation
|
|
|
|
||=logicalOR
|
|
&&=logicalAND
|
|
!=logicalNOT
|
|
|
|
>=greaterthan
|
|
<=lessthan
|
|
>\==greaterthanorequalto
|
|
<\==lessthanorequalto
|
|
\=\==equality
|
|
!\==inequality |