ImageLabel/ImageButton .AbsoluteImageSize

A Vector2 property representing the size of the image currently being displayed would be useful for multiple reasons:

  • Texture mapping on arbitrarily sized images (e.g. only using a portion of an image for something like borders)
  • Displaying information to people (e.g. if you were making an in-game trade system - you would be able to tell people how large their images are.

There’s probably more reasons for such a thing, too.

Personally, I would like this property so I can size borders based on how large the image is, and how large each segment is - assuming the supplied image is a spritemap.