Méthode | Description | |
---|---|---|
ApplyColorOperation ( ColorOperation colorOperation, System.Drawing.Color appliedColor ) : void | ||
ApplyColorOperation ( ColorOperation colorOperation, float red, float green, float blue, float alpha ) : void | ||
Blit ( |
||
Blit ( Microsoft.Xna.Framework.Graphics.Texture2D source, System.Drawing.Rectangle sourceRectangle, System.Drawing.Point destination ) : void | ||
CopyFrom ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : void | ||
CopyTo ( |
||
ExpandIfNecessary ( int desiredWidth, int desiredHeight ) : void | ||
Fill ( System.Drawing.Color fillColor ) : void | ||
Fill ( System.Drawing.Color fillColor, System.Drawing.Rectangle rectangle ) : void | ||
FlipHorizontal ( ) : void | ||
FlipVertical ( ) : void | ||
FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : |
||
GetPixelColor ( int x, int y ) : System.Drawing.Color | ||
GetXAndY ( int absoluteIndex, int &x, int &y ) : void | ||
ImageData ( int width, int height ) : System | ||
ImageData ( int width, int height, System.Drawing.Color data ) : System | ||
ImageData ( int width, int height, byte data ) : 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 ( System.Drawing.Color oldColor, System.Drawing.Color newColor ) : void | ||
RotateClockwise90 ( ) : void | ||
SetDataDimensions ( int desiredWidth, int desiredHeight ) : void | ||
SetPixel ( int x, int y, System.Drawing.Color color ) : void | ||
ToTexture2D ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( bool generateMipmaps ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( bool generateMipmaps, Microsoft.DirectX.Direct3D.Device graphicsDevice ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D textureToFill ) : void |
Méthode | Description | |
---|---|---|
MakePremultiplied ( ) : void | ||
MakePremultiplied ( int count ) : void | ||
ToTexture2D ( System.Drawing.Color pixelData, int textureWidth, int textureHeight ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ToTexture2D ( System.Drawing.Color pixelData, int textureWidth, int textureHeight, bool generateMipmaps, Microsoft.DirectX.Direct3D.Device graphicsDevice ) : Microsoft.Xna.Framework.Graphics.Texture2D |
public ApplyColorOperation ( ColorOperation colorOperation, System.Drawing.Color appliedColor ) : void | ||
colorOperation | ColorOperation | |
appliedColor | System.Drawing.Color | |
Résultat | void |
public ApplyColorOperation ( ColorOperation colorOperation, float red, float green, float blue, float alpha ) : void | ||
colorOperation | ColorOperation | |
red | float | |
green | float | |
blue | float | |
alpha | float | |
Résultat | void |
public Blit ( |
||
source | ||
sourceRectangle | System.Drawing.Rectangle | |
destination | System.Drawing.Point | |
Résultat | void |
public Blit ( Microsoft.Xna.Framework.Graphics.Texture2D source, System.Drawing.Rectangle sourceRectangle, System.Drawing.Point destination ) : void | ||
source | Microsoft.Xna.Framework.Graphics.Texture2D | |
sourceRectangle | System.Drawing.Rectangle | |
destination | System.Drawing.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 ( System.Drawing.Color fillColor ) : void | ||
fillColor | System.Drawing.Color | |
Résultat | void |
public Fill ( System.Drawing.Color fillColor, System.Drawing.Rectangle rectangle ) : void | ||
fillColor | System.Drawing.Color | |
rectangle | System.Drawing.Rectangle | |
Résultat | void |
public static FromTexture2D ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : |
||
texture2D | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat |
public GetPixelColor ( int x, int y ) : System.Drawing.Color | ||
x | int | |
y | int | |
Résultat | System.Drawing.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 ) : System | ||
width | int | |
height | int | |
Résultat | System |
public ImageData ( int width, int height, System.Drawing.Color data ) : System | ||
width | int | |
height | int | |
data | System.Drawing.Color | |
Résultat | System |
public ImageData ( int width, int height, byte data ) : System | ||
width | int | |
height | int | |
data | byte | |
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 ( System.Drawing.Color oldColor, System.Drawing.Color newColor ) : void | ||
oldColor | System.Drawing.Color | |
newColor | System.Drawing.Color | |
Résultat | void |
public SetDataDimensions ( int desiredWidth, int desiredHeight ) : void | ||
desiredWidth | int | |
desiredHeight | int | |
Résultat | void |
public SetPixel ( int x, int y, System.Drawing.Color color ) : void | ||
x | int | |
y | int | |
color | System.Drawing.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 ( bool generateMipmaps, Microsoft.DirectX.Direct3D.Device graphicsDevice ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
generateMipmaps | bool | |
graphicsDevice | Microsoft.DirectX.Direct3D.Device | |
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 |