메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public Clone ( |
||
rect | The rectangle to cut from. | |
format | PixelFormat | The PixelFomat to use. |
리턴 |
public static ColorsEqual ( Color col1, Color col2 ) : bool | ||
col1 | Color | The color to compare. |
col2 | Color | The color to compare against. |
리턴 | bool |
public DrawImage ( |
||
img | The source image. | |
x | int | x location in pixels. |
y | int | y location in pixels. |
리턴 | void |
public FastBitmap ( |
||
img | The image object to wrap. | |
리턴 | System |
public FloodFill ( int x, int y, Color newColor ) : |
||
x | int | start x |
y | int | start y |
newColor | Color | color to replace with |
리턴 |
public GetPixel ( int x, int y ) : Color | ||
x | int | The x pixel location. |
y | int | The y pixel location. |
리턴 | Color |
public ReplaceColor ( Color oldC, Color newC ) : void | ||
oldC | Color | The color in the image to edit. |
newC | Color | The color to replace with. |
리턴 | 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. |
리턴 | void |