type
methods
h |
Get the size height |
---|---|
isLoaded |
Is this image completely loaded into memory for use. |
mime |
Image format based on file type |
render |
Render a new image with the given MIME type and size using the provided Graphics instance. |
size |
Get the natural size of this image. |
uri |
Unique uri key for this image in the GraphicsEnv cache. |
w |
Get the size width |
write |
Write image content to the given output stream, where encoding is based on |
Slot Details
h
virtual Float h()
Get the size height
isLoaded
abstract Bool isLoaded()
Is this image completely loaded into memory for use. When a given uri is first accessed by GraphicsEnv.image
it may be asynchronously loaded in the background and false is returned until load is complete.
mime
abstract MimeType mime()
Image format based on file type:
image/png
image/gif
image/jpeg
image/svg+xml
render
size
abstract Size size()
Get the natural size of this image. If the image has not been loaded yet, then return 0,0.
uri
abstract Uri uri()
Unique uri key for this image in the GraphicsEnv cache.
w
virtual Float w()
Get the size width