/** */ (doc comment)

本参考资料用于Processing 3.0+。 如果你使用的是前一版本,请在使用软件帮助菜单内的参考资料。. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

名称

/** */ (doc comment)

示例
 /**    Draws two lines which divides the window     into four quadrants. First draws a horizontal    line and then the vertical line  */  
line(0, 50, 100, 50);

line(50, 0, 50, 100);

描述 Explanatory notes embedded within the code and written to the “index.html” file created when the code is exported. Doc comments (documentation comments) are used for sharing a description of your sketch when the program is exported. Export the code by hitting the “Export” button on the Toolbar.
语法
 /**   comment */ 
参数
comment any sequence of characters
相关 // (comment)
/* */ (multiline comment)

Updated on October 2, 2018 05:02:16pm EDT

/** */ (doc comment)