mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Fix most Javadoc errors, except syntax
This commit is contained in:
@@ -31,13 +31,13 @@ import processing.core.*;
|
||||
* A simple library to write DXF files with Processing.
|
||||
* Because this is used with beginRaw() and endRaw(), only individual
|
||||
* triangles and (discontinuous) line segments will be written to the file.
|
||||
* <P/>
|
||||
* <p>
|
||||
* Use something like a keyPressed() in PApplet to trigger it,
|
||||
* to avoid writing a bazillion .dxf files.
|
||||
* <P/>
|
||||
* <p>
|
||||
* Usually, the file will be saved to the sketch's folder.
|
||||
* Use Sketch → Show Sketch Folder to see it from the PDE.
|
||||
* <p/>
|
||||
* <p>
|
||||
* A simple example of how to use:
|
||||
* <PRE>
|
||||
* import processing.dxf.*;
|
||||
@@ -104,7 +104,7 @@ import processing.core.*;
|
||||
* </PRE>
|
||||
* Note that even though this class is a subclass of PGraphics, it only
|
||||
* implements the parts of the API that are necessary for beginRaw/endRaw.
|
||||
* <P/>
|
||||
* <p>
|
||||
* Based on the original DXF writer from Simon Greenwold, February 2004.
|
||||
* Updated for Processing 0070 by Ben Fry in September 2004,
|
||||
* and again for Processing beta in April 2005.
|
||||
|
||||
@@ -145,7 +145,7 @@ public class SPI {
|
||||
* Configures the SPI interface
|
||||
* @param maxSpeed maximum transmission rate in Hz, 500000 (500 kHz) is a resonable default
|
||||
* @param dataOrder whether data is send with the first- or least-significant bit first (SPI.MSBFIRST or SPI.LSBFIRST, the former is more common)
|
||||
* @param mode <a href="https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Clock_polarity_and_phase">SPI.MODE0 to SPI.MODE3</br>
|
||||
* @param mode <a href="https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Clock_polarity_and_phase">SPI.MODE0 to SPI.MODE3</a>
|
||||
* @webref
|
||||
*/
|
||||
public void settings(int maxSpeed, int dataOrder, int mode) {
|
||||
|
||||
@@ -533,7 +533,7 @@ public class Serial implements SerialPortEventListener {
|
||||
* @generate serialEvent.xml
|
||||
* @webref serial:events
|
||||
* @usage web_application
|
||||
* @param serialPorttEvent the port where new data is available
|
||||
* @param event the port where new data is available
|
||||
*/
|
||||
public void serialEvent(SerialPortEvent event) {
|
||||
if (event.getEventType() == SerialPortEvent.RXCHAR) {
|
||||
|
||||
Reference in New Issue
Block a user