ZIM Docs - Pic() for #HTML #Canvas #JavaScript, #CreateJS, #ZIMjs

preview_player
Показать описание

00:00 asset("..") replaced to new Pic(".png/jpg") new SVG(".svg") new Aud(".mp3") new Vid(".mp4")
12:34 Pic() is container with a Bitmap
14:30 IMAGES sometimes has CORS problems when using pics from different URL websites
16:40 settings of Chrome when working with offline images (on desktop)
18:26 using VS Code difference with using it in a real browser
19:44 building an app localy on your desktop
20:14 PATH="url"; for all pictures when not settings a path inside the Pic({file:"url"})
25:25 assets coding with id="name" is more typing but easier to name your files
30:16 assets in Frame(scaling, width, height, color, outerColor, ready, assets, path) parameters
31:10 easiest way is now new Pic() and can also be used multiple times also for same picture
Рекомендации по теме
visit shbcf.ru