Property | Type | Description | |
---|---|---|---|
FrameSize | Point |
Method | Description | |
---|---|---|
Image ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
Image ( string resource ) : System |
Constructs a Sprite from the specified Texture2D resource
|
Method | Description | |
---|---|---|
Draw ( |
Draws this sprite using the given transformation and depth If on a layer, depth only applies within that layer. |
|
Draw ( |
Draws this sprite using the given transformation and depth If on a layer, depth only applies within that layer. |
public Image ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |
public Image ( string resource ) : System | ||
resource | string | The name of a Texture2D resource |
return | System |