C# Class Microsoft.Xna.Framework.Graphics.ESImage

Show file Open project: Jorgemagic/MonoGame Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ESImage ( ) : System
ESImage ( ESTexture2D tex ) : System
ESImage ( ESTexture2D tex, float imageScale ) : System
ESImage ( UIImage image ) : System
ESImage ( UIImage image, OpenTK.Graphics.OpenGL.All filter ) : System
ESImage ( UIImage image, float imageScale, OpenTK.Graphics.OpenGL.All filter ) : System
ESImage ( int width, int height ) : System
GetSubImageAtPoint ( System.Vector2 point, int subImageWidth, int subImageHeight, float subImageScale ) : ESImage
GetTextureCoord ( int x, int y ) : System.Vector2
GetTextureCoordinates ( Rectangle textureRect ) : System.Vector2[]

Private Methods

Method Description
Initialize ( float scale ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ESImage() public method

public ESImage ( ) : System
return System

ESImage() public method

public ESImage ( ESTexture2D tex ) : System
tex ESTexture2D
return System

ESImage() public method

public ESImage ( ESTexture2D tex, float imageScale ) : System
tex ESTexture2D
imageScale float
return System

ESImage() public method

public ESImage ( UIImage image ) : System
image UIImage
return System

ESImage() public method

public ESImage ( UIImage image, OpenTK.Graphics.OpenGL.All filter ) : System
image UIImage
filter OpenTK.Graphics.OpenGL.All
return System

ESImage() public method

public ESImage ( UIImage image, float imageScale, OpenTK.Graphics.OpenGL.All filter ) : System
image UIImage
imageScale float
filter OpenTK.Graphics.OpenGL.All
return System

ESImage() public method

public ESImage ( int width, int height ) : System
width int
height int
return System

GetSubImageAtPoint() public method

public GetSubImageAtPoint ( System.Vector2 point, int subImageWidth, int subImageHeight, float subImageScale ) : ESImage
point System.Vector2
subImageWidth int
subImageHeight int
subImageScale float
return ESImage

GetTextureCoord() public method

public GetTextureCoord ( int x, int y ) : System.Vector2
x int
y int
return System.Vector2

GetTextureCoordinates() public method

public GetTextureCoordinates ( Rectangle textureRect ) : System.Vector2[]
textureRect System.Drawing.Rectangle
return System.Vector2[]