ScaleMode

Some NanoFL's generators (include CreateJS) support several scale modes.

noScale

Center viewport, don't scale.

fit

Center viewport, scale, keep aspect ratio, no cropping.

fill

Center viewport, scale, keep aspect ratio, cropping.

stretch

Scale, don't keep aspect ratio.

custom

Don't do anything.


Edit this page at bitbucket