Class Index | File Index

Classes


Built-In Namespace _global_

Field Summary
Field Attributes Field Name and Description
 
The align constants, use for everything using aligning (shapes, text).
 
CAP
The cap style constants, use for lineCap()
 
The line join style constants, use for lineJoin() and strokeStyle().
 
KC
Keyboard keycode constants to make identifying keys simple.
 
OP
The global composite operations constants.
Method Summary
Method Attributes Method Name and Description
 
rad(radians)
Converts radians to degrees, useful for drawing calls that expect degrees.
Field Detail
{object} ALIGN
The align constants, use for everything using aligning (shapes, text). You can use the text values directly if you like. Note that some of these values are valid only for texts (HANGING, ALPHABETIC, IDEOGRAPHIC and START, END).
Defined in: canvas-1.2.dev.js.
Since:
1.0

{object} CAP
The cap style constants, use for lineCap()
Defined in: canvas-1.2.dev.js.
Since:
1.0

{object} JOIN
The line join style constants, use for lineJoin() and strokeStyle().
Defined in: canvas-1.2.dev.js.
Since:
1.0

{object} KC
Keyboard keycode constants to make identifying keys simple. Use for key press callbacks and kb.isDown() method.
Defined in: canvas-1.2.dev.js.
Since:
1.0

{object} OP
The global composite operations constants. Use for setCompositeOperation(), beginComposite().
Defined in: canvas-1.2.dev.js.
Since:
1.0
Method Detail
{float} rad(radians)
Converts radians to degrees, useful for drawing calls that expect degrees.
Defined in: canvas-1.2.dev.js.
Parameters:
{float} radians
Angle in radians to convert to degrees
Since:
1.0
Returns:
{float} The angle in degrees

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Nov 06 2010 12:56:29 GMT+0200 (EET)