cleanup documentation
This commit is contained in:
parent
f4c34d858c
commit
b8f88958da
1 changed files with 4 additions and 8 deletions
|
@ -288,18 +288,14 @@ Ox.$ = Ox.element = function(value) {
|
|||
|
||||
/*@
|
||||
Ox.canvas <function> Generic canvas object
|
||||
# Description --------------------------------------------------------------
|
||||
Returns an object with the properties: `canvas`, `context`, `data` and
|
||||
`imageData`.
|
||||
# Usage --------------------------------------------------------------------
|
||||
Ox.canvas(width, height) -> <object> canvas
|
||||
Ox.canvas(image) -> <object> canvas
|
||||
# Arguments ----------------------------------------------------------------
|
||||
width <n> Width in px
|
||||
(width, height) -> <o> canvas
|
||||
(image) -> <o> canvas
|
||||
width <n> Width in px
|
||||
height <n> Height in px
|
||||
image <e> Image object
|
||||
image <e> Image object
|
||||
@*/
|
||||
|
||||
Ox.canvas = function() {
|
||||
var c = {}, isImage = arguments.length == 1,
|
||||
image = isImage ? arguments[0] : {
|
||||
|
|
Loading…
Reference in a new issue