createjs.Container Class

Mixins for the CreateJS Container class

cacheByBounds

(
  • [buffer=0]
  • [scale=1]
)

Defined in cacheByBounds:18

Does a cache by the nominalBounds set from Flash

Parameters:

  • [buffer=0] Int optional

    The space around the nominal bounds to include in cache image

  • [scale=1] Number optional

    The scale to cache the container by.

cacheByRect

(
  • rect
  • [buffer=0]
  • [scale=1]
)

Defined in cacheByRect:29

Does a cache by a given rectangle

Parameters:

  • rect createjs.Rectangle

    The rectangle to cache with.

  • [buffer=0] Int optional

    Additional space around the rectangle to include in cache image

  • [scale=1] Number optional

    The scale to cache the container by.