Méthode | Description | |
---|---|---|
Clone ( ) : |
Creates a clone of the wrapped image object.
|
|
Clone ( |
Grabs a sub-section clone of the wrapped image.
|
|
Clone ( |
Grabs a sub-section clone of the wrapped image.
|
|
ColorsEqual ( Color col1, Color col2 ) : bool |
Determines if two colors equal.
|
|
DrawImage ( |
Draws another bitmap into this image using straight-up pixel data. Not as fast as the Graphics.DrawImage();
|
|
FastBitmap ( |
Creates a FastBitmap wrapper for an image object.
|
|
FlattenAlpha ( ) : void |
Sets all transparency to max value.
|
|
FloodFill ( int x, int y, Color newColor ) : |
Replaces the colors of a particular area:
|
|
GetPixel ( int x, int y ) : Color |
Gets a pixel at the x/y location.
|
|
Grayscale ( ) : void |
Converts the image to a grayscale representation.
|
|
LockImage ( ) : void |
Locks the image to get it ready for fast manipluations.
|
|
ReplaceColor ( Color oldC, Color newC ) : void |
Replaces an old color with a new color.
|
|
SetPixel ( int x, int y, Color color ) : void |
Sets a pixel at the x/y location to the new color.
|
|
UnlockImage ( ) : void |
Unlocks the image.
|
Méthode | Description | |
---|---|---|
CheckFloodPoint ( Stack |
||
SetAlpha ( int x, int y, byte alpha ) : void | ||
ToGray ( int x, int y ) : void |
public Clone ( |
||
rect | The rectangle to cut from. | |
format | PixelFormat | The PixelFomat to use. |
Résultat |
public Clone ( |
||
rect | The rectangle to cut from. | |
format | PixelFormat | The PixelFomat to use. |
Résultat |
public static ColorsEqual ( Color col1, Color col2 ) : bool | ||
col1 | Color | The color to compare. |
col2 | Color | The color to compare against. |
Résultat | bool |
public DrawImage ( |
||
img | The source image. | |
x | int | x location in pixels. |
y | int | y location in pixels. |
Résultat | void |
public FastBitmap ( |
||
img | The image object to wrap. | |
Résultat | System |
public FloodFill ( int x, int y, Color newColor ) : |
||
x | int | start x |
y | int | start y |
newColor | Color | color to replace with |
Résultat |
public GetPixel ( int x, int y ) : Color | ||
x | int | The x pixel location. |
y | int | The y pixel location. |
Résultat | Color |
public ReplaceColor ( Color oldC, Color newC ) : void | ||
oldC | Color | The color in the image to edit. |
newC | Color | The color to replace with. |
Résultat | void |
public SetPixel ( int x, int y, Color color ) : void | ||
x | int | The x pixel location. |
y | int | The y pixel location. |
color | Color | The color to set the pixel to. |
Résultat | void |