| flags | The flags, defining horizontal and vertical alignment of the icon within the image's rectangle. |
| icon | The icon to display. |
| desiredSize() | Get or compute the desired size. |
| draw() | Draw the image on its background. |
| drawIcon(x, y) | Draw the icon at a specific position. |
| setIcon(pathOrIcon) | Set the icon to show. |