このリファレンスは省略版です。全ての関数や機能が追加されたリファレンスを見るには拡張版をクリックしてください。
また、この文書は Processing のAPIリファレンスを日本語に訳したものであり、
最新の内容は 英語版 で確認して下さい。
Language[API]. Processing言語は容易に洗練された視覚表現と概念構造を創造できるよう設計されています。
構造(29)
. (dot)
super
setup()
exit()
class
void
size()
/* */ (multiline comment)
false
noLoop()
this
true
new
// (comment)
, (comma)
delay()
{} (curly braces)
/** */ (doc comment)
draw()
loop()
implements
redraw()
; (semicolon)
[] (array access)
extends
null
() (parentheses)
return
= (assign)
. (dot)
super
setup()
exit()
class
void
size()
/* */ (multiline comment)
false
noLoop()
this
true
new
// (comment)
, (comma)
delay()
{} (curly braces)
/** */ (doc comment)
draw()
loop()
implements
redraw()
; (semicolon)
[] (array access)
extends
null
() (parentheses)
return
= (assign)
図形(21)
line()
arc()
point()
quad()
ellipse()
rect()
bezier()
smooth()
strokeJoin()
noSmooth()
ellipseMode()
rectMode()
strokeCap()
bezierVertex()
beginShape()
curveVertex()
endShape()
2次元基本図形
triangle()line()
arc()
point()
quad()
ellipse()
rect()
曲線
curve()bezier()
属性
strokeWeight()smooth()
strokeJoin()
noSmooth()
ellipseMode()
rectMode()
strokeCap()
頂点
vertex()bezierVertex()
beginShape()
curveVertex()
endShape()
入力(24)
mouseMoved()
mouseButton
mouseX
mouseReleased()
pmouseX
mousePressed()
mouseY
mousePressed
pmouseY
keyReleased()
keyPressed()
key
keyPressed
loadBytes()
millis()
year()
minute()
month()
day()
second()
マウス
mouseDragged()mouseMoved()
mouseButton
mouseX
mouseReleased()
pmouseX
mousePressed()
mouseY
mousePressed
pmouseY
キーボード
keyCodekeyReleased()
keyPressed()
key
keyPressed
ファイル
loadStrings()loadBytes()
日時
hour()millis()
year()
minute()
month()
day()
second()
出力(11)
print()
save()
saveStrings()
saveBytes()
createWriter()
PrintWriter
beginRecord()
createReader()
テキストエリア
println()print()
画像
saveFrame()save()
ファイル
endRecord()saveStrings()
saveBytes()
createWriter()
PrintWriter
beginRecord()
createReader()
色(15)
colorMode()
stroke()
noFill()
noStroke()
fill()
brightness()
blue()
saturation()
green()
hue()
alpha()
color()
blendColor()
設定
background()colorMode()
stroke()
noFill()
noStroke()
fill()
生成と読み込み
red()brightness()
blue()
saturation()
green()
hue()
alpha()
color()
blendColor()
画像(14)
PImage
image()
noTint()
imageMode()
tint()
copy()
set()
updatePixels()
blend()
loadPixels()
pixels[]
get()
PImage
読み込みと表示
loadImage()image()
noTint()
imageMode()
tint()
ピクセル
filter()copy()
set()
updatePixels()
blend()
loadPixels()
pixels[]
get()
タイポグラフィ(8)
PFont
loadFont()
textFont()
textAlign()
textLeading()
textWidth()
PFont
読み込みと表示
text()loadFont()
textFont()
属性
textSize()textAlign()
textLeading()
textWidth()
数学(31)
+ (addition)
- (minus)
% (modulo)
+= (add assign)
/ (divide)
* (multiply)
++ (increment)
-- (decrement)
max()
round()
dist()
pow()
floor()
sqrt()
abs()
constrain()
lerp()
sq()
ceil()
norm()
map()
sin()
cos()
degrees()
atan2()
radians()
random()
演算子
-= (subtract assign)+ (addition)
- (minus)
% (modulo)
+= (add assign)
/ (divide)
* (multiply)
++ (increment)
-- (decrement)
計算
min()max()
round()
dist()
pow()
floor()
sqrt()
abs()
constrain()
lerp()
sq()
ceil()
norm()
map()
三角関数
tan()sin()
cos()
degrees()
atan2()
radians()
乱数
randomSeed()random()
省略版:221 拡張版:300 /* Mon 19 May 2008 ----------------------------------*/ ■ ほぼ全ての訳を修正し、サイトスタイルも一部変更した。 ■ 新規に追加された createReader() ページに BufferedReader へのリンクがあるが、 該当する機能を解説しているページがない。 ■ 新規に追加された機能 - match(),createReader(),noLights(),hint(),unhint() ■ 解説が追加された機能 - createReader(),createWriter(),fill(),loadFont(),loadImage(),loadString(), modelX(),modelY(),modelZ(),saveBytes(),saveStrings(),shorten(),size(),sort(),stroke(),texture(), tint(), etc. ■ 省略版にも追加された機能 - conditional,default
