()
| 1479 | /// |
| 1480 | /// the width of the image |
| 1481 | public int getWidth() { |
| 1482 | if (transform != 0) { |
| 1483 | if (transform == 90 || transform == 270) { |
| 1484 | return Display.impl.getImageHeight(image); |
| 1485 | } |
| 1486 | } |
| 1487 | return Display.impl.getImageWidth(image); |
| 1488 | } |
| 1489 | |
| 1490 | /// Returns the height of the image |
| 1491 | /// |