96 views
# Processing Reference ###### tags: `processing` `mcl` `program` `reference` [TOC] ## Structure ## Environment ### size() #### 描述 Defines the dimension of the display window width and height in units of pixels. In a program that has the setup() function, the size() function must be the first line of code inside setup(), and the setup() function must appear in the code tab with the same name as your sketch folder. #### 語法 `size(width, height)` `size(width, height, renderer)` #### 參數 `width` **int**:整個視窗的寬度,單位像素 `height` **int**:整個視窗的高度,單位像素 #### 回傳值 void ## Data ## Control ## Shape ## Input ## Output ## Transform ## Lights, Camera ## Color ## Image ## Rendering ## Typography ## Math ## Constants