public interface Sketch
Modifier and Type | Method and Description |
---|---|
void |
draw()
The process draw method.
|
String |
getName()
Returns the name of the sketch.
|
processing.core.PGraphics |
getPGraphics()
Return the PGraphics associated with this sketch.
|
void |
keyEvent(processing.event.KeyEvent event)
This is the keyEvent callback method that will be propagated through
the
SketchMapper object
and called on this sketch. |
void |
mouseEvent(processing.event.MouseEvent event)
This is the mouseEvent callback method that will be propagated through
the
SketchMapper object and
called on this sketch. |
void |
setup()
The processing setup method.
|
void draw()
SketchMapper
String getName()
void setup()
processing.core.PGraphics getPGraphics()
void keyEvent(processing.event.KeyEvent event)
SketchMapper
object
and called on this sketch.event
- the key event.void mouseEvent(processing.event.MouseEvent event)
SketchMapper
object and
called on this sketch.event
- the mouse event.Copyright © 2017. All rights reserved.