PowerUI.ResizedImage Class Reference

Detailed Description

Represents an image that has been resized by the ImageResizer. Cached such that they don't get resized again.

Public Member Functions

 ResizedImage (Texture2D image)
 

Public Attributes

int Width
 The new width. More...
 
int Height
 New height. More...
 
int OriginalWidth
 Original width. More...
 
int OriginalHeight
 Original height. More...
 
Texture2D Image
 The new resized image. More...
 

Constructor & Destructor Documentation

PowerUI.ResizedImage.ResizedImage ( Texture2D  image)
inline

Member Data Documentation

int PowerUI.ResizedImage.Height

New height.

Texture2D PowerUI.ResizedImage.Image

The new resized image.

int PowerUI.ResizedImage.OriginalHeight

Original height.

int PowerUI.ResizedImage.OriginalWidth

Original width.

int PowerUI.ResizedImage.Width

The new width.