Class Index | File Index

Classes


Namespace CAAT.Module.Image.ImageUtil


Defined in: ImageUtil.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
CAAT.Module.Image.ImageUtil.createAlphaSpriteSheet(maxAlpha, minAlpha, sheetSize, image, bg_fill_style)
<static>  
CAAT.Module.Image.ImageUtil.createThumb(image, w, h, best_fit)
<static>  
CAAT.Module.Image.ImageUtil.optimize(image, threshold, areas)
Remove an image's padding transparent border.
<static>  
CAAT.Module.Image.ImageUtil.rotate(image, angle)
Creates a rotated canvas image element.
Namespace Detail
CAAT.Module.Image.ImageUtil
Method Detail
<static> CAAT.Module.Image.ImageUtil.createAlphaSpriteSheet(maxAlpha, minAlpha, sheetSize, image, bg_fill_style)
Parameters:
maxAlpha
minAlpha
sheetSize
image
bg_fill_style

<static> CAAT.Module.Image.ImageUtil.createThumb(image, w, h, best_fit)
Parameters:
image
w
h
best_fit

<static> CAAT.Module.Image.ImageUtil.optimize(image, threshold, areas)
Remove an image's padding transparent border. Transparent means that every scan pixel is alpha=0.
Parameters:
image
threshold
areas

<static> CAAT.Module.Image.ImageUtil.rotate(image, angle)
Creates a rotated canvas image element.
Parameters:
image
angle

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 01 2013 04:59:19 GMT-0700 (PDT)