Méthode | Description | |
---|---|---|
AddPixelRegular ( int x, int y, Color color ) : void | ||
Blit ( |
||
Blit ( Microsoft.Xna.Framework.Graphics.Texture2D source, |
||
CopyFrom ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : void | ||
CopyTo ( |
||
ExpandIfNecessary ( int desiredWidth, int desiredHeight ) : void | ||
Fill ( Color fillColor ) : void | ||
Fill ( Color fillColor, |
||
FlipHorizontal ( ) : void | ||
FlipVertical ( ) : void | ||
FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, SystemManagers managers ) : |
||
FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, SystemManagers managers, Color colorBuffer ) : |
||
GetPixelColor ( int x, int y ) : Color | ||
GetXAndY ( int absoluteIndex, int &x, int &y ) : void | ||
ImageData ( int width, int height, Color data, SystemManagers managers ) : System | ||
ImageData ( int width, int height, SystemManagers managers ) : System | ||
ImageData ( int width, int height, byte data, SystemManagers managers ) : System | ||
RemoveColumn ( int columnToRemove ) : void | ||
RemoveColumns ( IList |
||
RemoveRow ( int rowToRemove ) : void |
Removes the index row from the contained data. Row 0 is the top of the texture.
|
|
RemoveRows ( IList |
||
Replace ( Color oldColor, Color newColor ) : void | ||
RotateClockwise90 ( ) : void | ||
SetDataDimensions ( int desiredWidth, int desiredHeight ) : void | ||
SetPixel ( int x, int y, Color color ) : void | ||
ToTexture2D ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( bool generateMipmaps ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D textureToFill ) : void |
Méthode | Description | |
---|---|---|
MakePremultiplied ( ) : void | ||
MakePremultiplied ( int count ) : void | ||
ToTexture2D ( Color pixelData, int textureWidth, int textureHeight, SystemManagers managers ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( Color pixelData, int textureWidth, int textureHeight, bool generateMipmaps, SystemManagers managers ) : Microsoft.Xna.Framework.Graphics.Texture2D |
public AddPixelRegular ( int x, int y, Color color ) : void | ||
x | int | |
y | int | |
color | Color | |
Résultat | void |
public Blit ( |
||
source | ||
sourceRectangle | ||
destination | Point | |
Résultat | void |
public Blit ( Microsoft.Xna.Framework.Graphics.Texture2D source, |
||
source | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | ||
destination | Point | |
Résultat | void |
public CopyFrom ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : void | ||
texture2D | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat | void |
public CopyTo ( |
||
destination | ||
xOffset | int | |
yOffset | int | |
Résultat | void |
public ExpandIfNecessary ( int desiredWidth, int desiredHeight ) : void | ||
desiredWidth | int | |
desiredHeight | int | |
Résultat | void |
public Fill ( Color fillColor, |
||
fillColor | Color | |
rectangle | ||
Résultat | void |
public static FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, SystemManagers managers ) : |
||
texture2D | Microsoft.Xna.Framework.Graphics.Texture2D | |
managers | SystemManagers | |
Résultat |
public static FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, SystemManagers managers, Color colorBuffer ) : |
||
texture2D | Microsoft.Xna.Framework.Graphics.Texture2D | |
managers | SystemManagers | |
colorBuffer | Color | |
Résultat |
public GetPixelColor ( int x, int y ) : Color | ||
x | int | |
y | int | |
Résultat | Color |
public GetXAndY ( int absoluteIndex, int &x, int &y ) : void | ||
absoluteIndex | int | |
x | int | |
y | int | |
Résultat | void |
public ImageData ( int width, int height, Color data, SystemManagers managers ) : System | ||
width | int | |
height | int | |
data | Color | |
managers | SystemManagers | |
Résultat | System |
public ImageData ( int width, int height, SystemManagers managers ) : System | ||
width | int | |
height | int | |
managers | SystemManagers | |
Résultat | System |
public ImageData ( int width, int height, byte data, SystemManagers managers ) : System | ||
width | int | |
height | int | |
data | byte | |
managers | SystemManagers | |
Résultat | System |
public RemoveColumn ( int columnToRemove ) : void | ||
columnToRemove | int | |
Résultat | void |
public RemoveColumns ( IList |
||
columnsToRemove | IList |
|
Résultat | void |
public RemoveRow ( int rowToRemove ) : void | ||
rowToRemove | int | The index of the row to remove. Index 0 is the top row. |
Résultat | void |
public RemoveRows ( IList |
||
rowsToRemove | IList |
|
Résultat | void |
public Replace ( Color oldColor, Color newColor ) : void | ||
oldColor | Color | |
newColor | Color | |
Résultat | void |
public SetDataDimensions ( int desiredWidth, int desiredHeight ) : void | ||
desiredWidth | int | |
desiredHeight | int | |
Résultat | void |
public SetPixel ( int x, int y, Color color ) : void | ||
x | int | |
y | int | |
color | Color | |
Résultat | void |
public ToTexture2D ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public ToTexture2D ( bool generateMipmaps ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
generateMipmaps | bool | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public ToTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D textureToFill ) : void | ||
textureToFill | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat | void |