getWidth
getWidth: (Image, ImageObserver?) -> numberThe width; the observer is ignored (pass nil), as a Bento image is always complete.
ImageIcon.new():getImage()| Method | Returns | Description |
|---|---|---|
getWidth(ImageObserver?) | number | The width; the observer is ignored (pass nil), as a Bento image is always complete. |
getHeight(ImageObserver?) | number | The height; the observer is ignored (pass nil). |
getScaledInstance(number, number, number) | Image | A scaled copy: area averaging when hints has SCALE_SMOOTH or SCALE_AREA_AVERAGING, else pixel replication. A size of -1 keeps the asp… |
equals(any) | boolean | Whether other equals this Image, as == answers it (false for a value of another class). |
| Field | Type | Description |
|---|---|---|
SCALE_DEFAULT | number | Image.SCALE_DEFAULT. |
SCALE_FAST | number | Image.SCALE_FAST. |
SCALE_SMOOTH | number | Image.SCALE_SMOOTH. |
SCALE_REPLICATE | number | Image.SCALE_REPLICATE. |
SCALE_AREA_AVERAGING | number | Image.SCALE_AREA_AVERAGING. |
| Method | Returns | Description |
|---|---|---|
AwtWindow.getIconImages | {Image} | A new array of the images setIconImages was given, in order; empty before, and after nil or {}. A dialog does not answer its owner's. |
ImageIcon.getImage | Image? | The image, or nil for an empty icon. |
getWidthgetWidth: (Image, ImageObserver?) -> numberThe width; the observer is ignored (pass nil), as a Bento image is always complete.
getHeightgetHeight: (Image, ImageObserver?) -> numberThe height; the observer is ignored (pass nil).
getScaledInstancegetScaledInstance: (Image, number, number, number) -> ImageA scaled copy: area averaging when hints has SCALE_SMOOTH or SCALE_AREA_AVERAGING, else pixel replication. A size of -1 keeps the aspect ratio from the other, in int arithmetic; a size of 0 is an error. The copy is made now.
equalsequals: (Image, any) -> booleanWhether other equals this Image, as == answers it (false for a value of another class).