()
| 1493 | /// |
| 1494 | /// the height of the image |
| 1495 | public int getHeight() { |
| 1496 | if (transform != 0) { |
| 1497 | if (transform == 90 || transform == 270) { |
| 1498 | return Display.impl.getImageWidth(image); |
| 1499 | } |
| 1500 | } |
| 1501 | return Display.impl.getImageHeight(image); |
| 1502 | } |
| 1503 | |
| 1504 | /// Callback invoked internally by Codename One to draw the image/frame onto the display. |
| 1505 | /// Image subclasses can override this method to perform drawing of custom image types. |