phrase nets
|
Inherits PApplet.
Public Member Functions | |
PhraseNets (int displayWidth, int displayHeight) | |
void | visualize (ParseResult data) |
void | setup () |
void | draw () |
void | mousePressed () |
void | mouseDragged () |
void | mouseReleased () |
void | changeDisplay (int width, int height) |
Package Attributes | |
final int | _wordColorB = 0xFF002369 |
Handles visualization of the phrase net
pn::PhraseNets::PhraseNets | ( | int | displayWidth, |
int | displayHeight | ||
) | [inline] |
Ctor.
displayWidth | width of PApplet |
displayHeight | height of PApplet |
void pn::PhraseNets::changeDisplay | ( | int | width, |
int | height | ||
) | [inline] |
Changes the width and height attributes of the drawing area. Does not resize the window or frame!
width | new display width |
height | new display height |
void pn::PhraseNets::visualize | ( | ParseResult | data | ) | [inline] |
Visualizes the given ParseResult
data | ParseResult to visualize |