C E G I P S T U

C

codeanticode.protablet - package codeanticode.protablet
 
CURSOR - Static variable in class codeanticode.protablet.Tablet
Constant to identify the mouse.

E

ERASER - Static variable in class codeanticode.protablet.Tablet
Constant to identify the erasing tip of the pen.

G

getAltitude() - Method in class codeanticode.protablet.Tablet
Returns the current altitude of the pen.
getAzimuth() - Method in class codeanticode.protablet.Tablet
Returns the current x azimuth of the pen.
getAzimuthXAndAltitude(float[]) - Method in class codeanticode.protablet.Tablet
Calculates the current x azimuth and altitude values and return them in the azimuthXAndAltitude array.
getPenKind() - Method in class codeanticode.protablet.Tablet
Returns the current pen kind: CURSOR is the mouse, STYLUS is the drawing tip of the pen and ERASER is the eraser tip of the pen.
getPenX() - Method in class codeanticode.protablet.Tablet
Returns the current X position of the pen.
getPenY() - Method in class codeanticode.protablet.Tablet
Returns the current Y position of the pen.
getPressure() - Method in class codeanticode.protablet.Tablet
Returns the current pressure.
getSavedAltitude() - Method in class codeanticode.protablet.Tablet
Returns the saved altitude of the pen.
getSavedAzimuth() - Method in class codeanticode.protablet.Tablet
Returns the saved x azimuth of the pen.
getSavedAzimuthXAndAltitude(float[]) - Method in class codeanticode.protablet.Tablet
Calculates the x azimuth and altitude values using the saved tablet state and return them in the azimuthXAndAltitude array.
getSavedPenX() - Method in class codeanticode.protablet.Tablet
Returns the saved X position of the pen.
getSavedPenY() - Method in class codeanticode.protablet.Tablet
Returns the saved Y position of the pen.
getSavedPressure() - Method in class codeanticode.protablet.Tablet
Returns the saved pressure.
getSavedTiltX() - Method in class codeanticode.protablet.Tablet
Returns the saved X tilt of the pen.
getSavedTiltY() - Method in class codeanticode.protablet.Tablet
Returns the saved Y tilt of the pen.
getTiltX() - Method in class codeanticode.protablet.Tablet
Returns the current X tilt of the pen.
getTiltY() - Method in class codeanticode.protablet.Tablet
Returns the current Y tilt of the pen.

I

isCenterDown() - Method in class codeanticode.protablet.Tablet
Returns true if there is the center button is currently pressed.
isDown() - Method in class codeanticode.protablet.Tablet
Returns true if there is any button being currently pressed.
isLeftDown() - Method in class codeanticode.protablet.Tablet
Returns true if there is the left button is currently pressed.
isMovement() - Method in class codeanticode.protablet.Tablet
Returns true if a level event has occurred, meaning that a change in pressure, position or tilt has been detected.
isRightDown() - Method in class codeanticode.protablet.Tablet
Returns true if there is the right button is currently pressed.

P

penButtonEvent(PButtonEvent) - Method in class codeanticode.protablet.Tablet
Invokes penButtonEventMethod in the Processing applet (if exists) when a button event occurs.
penKindEvent(PKindEvent) - Method in class codeanticode.protablet.Tablet
Invokes penKindEventMethod in the Processing applet (if exists) when a kind event occurs.
penLevelEvent(PLevelEvent) - Method in class codeanticode.protablet.Tablet
Invokes penLevelEventMethod in the Processing applet (if exists) when a level event occurs.
penScrollEvent(PScrollEvent) - Method in class codeanticode.protablet.Tablet
Invokes penScrollEventMethod in the Processing applet (if exists) when a scroll event occurs.
penTock(long) - Method in class codeanticode.protablet.Tablet
 

S

saveState() - Method in class codeanticode.protablet.Tablet
Saves the current state of the pen.
STYLUS - Static variable in class codeanticode.protablet.Tablet
Constant to identify the drawing tip of the pen.

T

Tablet - Class in codeanticode.protablet
This class extends the PenListener class of the JPen library by adding getter methods to retrieve the pen values (position, pressure, tilt, pressed buttons, etc.).
Tablet(PApplet) - Constructor for class codeanticode.protablet.Tablet
The class constructor that takes the parent Processing applet as parameter to initialize the pen manager.

U

UNDEFINED - Static variable in class codeanticode.protablet.Tablet
Constant to identify an unknown pen kind.

C E G I P S T U

processing library protablet by Andres Colubri. (c) 2008