API Docs for: 0.1.0
Show:

CG.Bound Class

Extends CG.Class
Module: CG

CG.Bound is used at different places in the Cangaja FW.


                            var b = new CG.Bound({
                                  x: 0,
                                  y: 0,
                                  width: 120,
                                  height: 120
                                })
                        

Item Index

Methods

Properties

Methods

init

(
  • options
)

Options: x {number} y {number} width {number} height {number}

Parameters:

Returns:

:

setName

(
  • name
)

Parameters:

  • name String

    of the bounding box

Returns:

:

Properties

height

Number

width

Number