Closed mpaperno closed 1 month ago
new image(w,h)
width
height
naturalWidth
naturalHeight
options
loadImage()
Image
I'm going to merge this just to make it possible to rebase the SVG PR. Happy to pick up the image-init syntax question again once I've dug into the SVG stuff a bit.
new image(w,h)
) or in options object;width
andheight
properties are now settable, and return the set size, if any, otherwise the actual image dimensions;naturalWidth
&naturalHeight
read-only properties which always return actual image dimensions;options
argument toloadImage()
which gets passed toImage
constructor;