Documentation

YappsJS build 37+ has a new Canvas Manager "Japhics" that will possibly replace the origanal.

Methods
YappJS.Japhics
-init(canvasID)

-add(newObjectID)

-get(objectID) 
returns Japhics.object
-addArray(idArray)

-set(id, obj)

-group(idArray) 
returns Japhics.group
-del(id)

-delArray(idArray)

-exist(id)

-replace(id, newId)

-err() 
returns errors in array
-getCanvas() 
returns DOM object for canvas
-getContext() 
returns DOM object for canvas context in 2D
-update(id)

-updateAll()

-draw(id)

-drawAll()

Last edited Jun 2, 2012 at 3:36 AM by gamesman123, version 3

Comments

No comments yet.