Question

Is it possible to give an image path (url or local) for raster constructor in paper.js?

Was it helpful?

Solution

As noted below by the original author, creating a Raster from a URL works

OTHER TIPS

Ya..Cool , we can use image URL directly..

var imgUrl="http://www.myimgesource.com";
var raster=new Raster(imgUrl);

thanks, suribabu

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top