Property | Type | Description | |
---|---|---|---|
GetImageFormat | |||
GetPixelSize | int |
Method | Description | |
---|---|---|
ApplyColorMatrix ( System matrix ) : |
Applies the matrix.
|
|
ApplyColorMatrix ( float matrix ) : |
Applies the matrix.
|
|
ApplyConvolutionFilter ( int filter, bool absolute = false, int offset ) : |
Applies the convolution filter to the image
|
|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
Copy ( |
Copies the image from one image to this one.
|
|
Crop ( int Width, int Height, Align VAlignment, Align HAlignment ) : |
Crops the image by the specified width/height
|
|
DrawPath ( |
Draws the path specified
|
|
DrawText ( string TextToDraw, |
Draws the text specified
|
|
Fill ( Color color ) : |
Fills the image with the specified color.
|
|
GetPixel ( int position ) : Color |
Gets the pixel.
|
|
GetPixel ( int x, int y ) : Color |
Gets the pixel.
|
|
Lock ( ) : |
Locks this instance.
|
|
Resize ( int Width, int Height, Quality Quality = Quality.Low ) : |
Resizes an SwiftBitmap to a certain height
|
|
Rotate ( RotateFlipType flipType ) : |
Rotates and/or flips the image
|
|
Rotate ( float DegreesToRotate ) : |
Rotates an image
|
|
Save ( string fileName ) : |
Saves to the specified file name.
|
|
SetPixel ( int x, int y, Color pixelColor ) : |
Sets the pixel.
|
|
SetPixels ( int x, int y, Color pixels ) : |
Sets the pixels starting at the x and y coordinate specified.
|
|
SwiftBitmap ( |
Initializes a new instance of the SwiftBitmap class.
|
|
SwiftBitmap ( Image image ) : System |
Initializes a new instance of the SwiftBitmap class.
|
|
SwiftBitmap ( Stream stream ) : System |
Initializes a new instance of the SwiftBitmap class.
|
|
SwiftBitmap ( int width, int height ) : System |
Initializes a new instance of the SwiftBitmap class.
|
|
SwiftBitmap ( string fileName ) : System |
Initializes a new instance of the SwiftBitmap class.
|
|
ToString ( |
Converts an SwiftBitmap to a base64 string and returns it
|
|
Unlock ( ) : |
Unlocks this SwiftBitmap
|
|
operator ( ) : |
Implements the operator &.
|
Method | Description | |
---|---|---|
Dispose ( bool Managed ) : void |
Function to override in order to dispose objects
|
Method | Description | |
---|---|---|
GetImageFormat ( string fileName ) : |
Returns the SwiftBitmap format this file is using
|
|
GetPixelSize ( ) : int |
Gets the size of the pixel.
|
public ApplyColorMatrix ( System matrix ) : |
||
matrix | System | The matrix. |
return |
public ApplyColorMatrix ( float matrix ) : |
||
matrix | float | The matrix. |
return |
public ApplyConvolutionFilter ( int filter, bool absolute = false, int offset ) : |
||
filter | int | The filter. |
absolute | bool | if set to |
offset | int | The offset to use for each pixel |
return |
public Copy ( |
||
SwiftBitmap | The SwiftBitmap to copy from. | |
return |
public Crop ( int Width, int Height, Align VAlignment, Align HAlignment ) : |
||
Width | int | The width. |
Height | int | The height. |
VAlignment | Align | The v alignment. |
HAlignment | Align | The h alignment. |
return |
protected Dispose ( bool Managed ) : void | ||
Managed | bool | /// If true, managed and unmanaged objects should be disposed. Otherwise unmanaged objects only. /// |
return | void |
public DrawPath ( |
||
pen | The pen to use. | |
path | The path to draw | |
return |
public DrawText ( string TextToDraw, |
||
TextToDraw | string | The text to draw. |
FontToUse | The font to use. | |
BrushUsing | The brush to use. | |
BoxToDrawWithin | The box to draw within. | |
return |
public Fill ( Color color ) : |
||
color | Color | The color. |
return |
public GetPixel ( int position ) : Color | ||
position | int | The position in the image |
return | Color |
public GetPixel ( int x, int y ) : Color | ||
x | int | The x position |
y | int | The y position |
return | Color |
public Resize ( int Width, int Height, Quality Quality = Quality.Low ) : |
||
Width | int | New width for the final image |
Height | int | New height for the final image |
Quality | Quality | Quality of the resizing |
return |
public Rotate ( RotateFlipType flipType ) : |
||
flipType | RotateFlipType | Type of flip/rotation to do |
return |
public Rotate ( float DegreesToRotate ) : |
||
DegreesToRotate | float | Degrees to rotate the image |
return |
public Save ( string fileName ) : |
||
fileName | string | Name of the file. |
return |
public SetPixel ( int x, int y, Color pixelColor ) : |
||
x | int | The x position |
y | int | The y position |
pixelColor | Color | Color of the pixel. |
return |
public SetPixels ( int x, int y, Color pixels ) : |
||
x | int | The beginning x coordinate |
y | int | The beginning y coordinate |
pixels | Color | The pixels to set |
return |
public SwiftBitmap ( |
||
bitmap | The bitmap. | |
return | System |
public SwiftBitmap ( Image image ) : System | ||
image | Image | The image. |
return | System |
public SwiftBitmap ( Stream stream ) : System | ||
stream | Stream | The stream. |
return | System |
public SwiftBitmap ( int width, int height ) : System | ||
width | int | The width. |
height | int | The height. |
return | System |
public SwiftBitmap ( string fileName ) : System | ||
fileName | string | Name of the file. |
return | System |
public ToString ( |
||
desiredFormat | Desired SwiftBitmap format (defaults to Jpeg) | |
return | string |