Namespace jaws.gfx
GFX related helpers
- Defined in: gfx.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
Method Summary
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
jaws.gfx.retroScaleImage(image, factor)
scale 'image' by factor 'factor'.
|
Namespace Detail
jaws.gfx
Method Detail
-
<static> jaws.gfx.retroScaleImage(image, factor)scale 'image' by factor 'factor'. Scaling is done using nearest-neighbor ( retro-blocky-style ). Returns a canvas.
- Parameters:
- image
- factor