Overview
The Image
class represents graphical images.
Profile: common
Attribute Summary
name | type | description |
---|---|---|
Public | ||
backgroundLoading | Boolean |
Determines if the placeholder image is used while the URL is loaded in the background. More: [+]Determines if the placeholder image is used
while the URL is loaded in the background.
The default value is Profile: common |
height | Number |
Determines the height of the image. More: [+]Determines the height of the image. If image'ssize is specified then the image is scaled
so that the maximum dimension is equal to size
and the original aspect ratio is preserved.
If image's width and height are specified
then the image is scaled to match.
If only height is specified the image is scaled to match
and the original aspect ratio is preserved.
Profile: common |
placeholder | Image |
Determines the placeholder image which is used when #backgroundLoading is set to true and the URL is loaded in the background. More: [+]Determines the placeholder image which is used
when #backgroundLoading is set to true
and the URL is loaded in the background.
The default value is Profile: common |
progress | Number |
The approximate percentage of image's loading that has been completed. More: [+]The approximate percentage of image's loading that
has been completed. The default value is Profile: common |
size | Number |
Determines the size of the image. More: [+]Determines the size of the image. If image'ssize is specified then the image is scaled
so that the maximum dimension is equal to size
and the original aspect ratio is preserved.
Profile: common |
url | String |
The URL to use in fetching the pixel data. More: [+]The URL to use in fetching the pixel data. Profile: common |
width | Number |
Determines the width of the image. More: [+]Determines the width of the image. If image'ssize is specified then the image is scaled
so that the maximum dimension is equal to size
and the original aspect ratio is preserved.
If image's width and height are specified
then the image is scaled to match.
If only width is specified the image is scaled to match
and the original aspect ratio is preserved.
Profile: common |
Protected |
Inherited Attributes
Function Summary
- public cancel() : Void
-
More: [+]
- public static fromBufferedImage(image: java.awt.image.BufferedImage) : Image
-
More: [+]
-
Parameters
- image
-
Returns
- Image
- public bound getBufferedImage() : java.awt.image.BufferedImage
-
More: [+]
-
Returns
- BufferedImage