Method | Description | |
---|---|---|
Clone ( ) : |
||
Image ( string texturePath ) : System |
Creates a new instance
|
|
LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void |
Load all XNA ContentManager content
|
|
Refresh ( GraphicsDevice device ) : void |
Refreshes the control properties when it requires to be redrawn to the RenderTarget
|
|
Render ( |
Renders the control
|
|
UnloadContent ( IContentCatalogue catalogue ) : void |
Unload all XNA ContentManager content
|
public Image ( string texturePath ) : System | ||
texturePath | string | The path to the texture to be used |
return | System |
public LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void | ||
catalogue | IContentCatalogue | |
manager | Microsoft.Xna.Framework.Content.ContentManager | XNA content manage |
return | void |
public Refresh ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
return | void |
public Render ( |
||
spriteRenderer | ||
return | void |
public UnloadContent ( IContentCatalogue catalogue ) : void | ||
catalogue | IContentCatalogue | |
return | void |