GraphicsEnv
@Js
const mixin GraphicsEnv
GraphicsEnv encapsulates a graphics toolkit. It is responsible image loading and caching.
Default environment for the VM
Get an image for the given uri
static GraphicsEnv cur()
Default environment for the VM
abstract Image image(Uri uri, Buf? data)
Get an image for the given uri. The uri is the unique key for the image in this environment. If file data is null, then asynchronously load and cache the image on the first load. Standard supported formats are: PNG, JPEG, and SVG.