![]() | FastBitmap 类 |
命名空间: SweetUI
FastBitmap 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | FastBitmap |
Creates a new instance of the FastBitmap class with a specified Bitmap.
The bitmap provided must have a 32bpp depth
|
名称 | 说明 | |
---|---|---|
![]() | DataArray |
Gets an array of 32-bit color pixel values that represent this FastBitmap
|
![]() | Height |
Gets the height of this FastBitmap object
|
![]() | Locked |
Gets a boolean value that states whether this FastBitmap is currently locked in memory
|
![]() | Scan0 |
Gets the pointer to the first pixel of the bitmap
|
![]() | Stride |
Gets the stride width (in int32-sized values) of the bitmap
|
![]() | StrideInBytes |
Gets the stride width (in bytes) of the bitmap
|
![]() | Width |
Gets the width of this FastBitmap object
|
名称 | 说明 | |
---|---|---|
![]() | Clear(Color) |
Clears the bitmap with the given color
|
![]() | Clear(Int32) |
Clears the bitmap with the given color
|
![]() ![]() | ClearBitmap(Bitmap, Color) |
Clears the given bitmap with the given color
|
![]() ![]() | ClearBitmap(Bitmap, Int32) |
Clears the given bitmap with the given color
|
![]() | ClearRegion(Rectangle, Color) |
Clears a square region of this image w/ a given color
|
![]() | ClearRegion(Rectangle, Int32) |
Clears a square region of this image w/ a given color
|
![]() | CopyFromArray |
Copies the contents of the given array of colors into this FastBitmap.
Throws an ArgumentException if the count of colors on the array mismatches the pixel count from this FastBitmap
|
![]() ![]() | CopyPixels |
Performs a copy operation of the pixels from the Source bitmap to the Target bitmap.
If the dimensions or pixel depths of both images don't match, the copy is not performed
|
![]() | CopyRegion(Bitmap, Rectangle, Rectangle) |
Copies a region of the source bitmap into this fast bitmap
|
![]() ![]() | CopyRegion(Bitmap, Bitmap, Rectangle, Rectangle) |
Copies a region of the source bitmap to a target bitmap
|
![]() | Dispose |
Disposes of this fast bitmap object and releases any pending resources.
The underlying bitmap is not disposes, and is unlocked, if currently locked
|
![]() | Equals | (继承自 Object。) |
![]() | Finalize | (继承自 Object。) |
![]() | GetHashCode | (继承自 Object。) |
![]() | GetPixel |
Gets the pixel color at the given coordinates. If the bitmap was not locked beforehands,
an exception is thrown
|
![]() | GetPixelInt |
Gets the pixel color at the given coordinates as an integer value. If the bitmap
was not locked beforehands, an exception is thrown
|
![]() | GetPixelUInt |
Gets the pixel color at the given coordinates as an unsigned integer value.
If the bitmap was not locked beforehands, an exception is thrown
|
![]() | GetType | (继承自 Object。) |
![]() | Lock |
Locks the bitmap to start the bitmap operations. If the bitmap is already locked,
an exception is thrown
|
![]() | Lock(FastBitmapLockFormat) |
Locks the bitmap to start the bitmap operations. If the bitmap is already locked,
an exception is thrown.
The provided pixel format should be a 32bpp format.
|
![]() | MemberwiseClone | (继承自 Object。) |
![]() ![]() | memcpy(IntPtr, IntPtr, UInt64) |
.NET wrapper to native call of 'memcpy'. Requires Microsoft Visual C++ Runtime installed
|
![]() ![]() | memcpy(Void*, Void*, UInt64) |
.NET wrapper to native call of 'memcpy'. Requires Microsoft Visual C++ Runtime installed
|
![]() ![]() | memset |
.NET wrapper to native call of 'memset'. Requires Microsoft Visual C++ Runtime installed
|
![]() | SetPixel(Int32, Int32, Color) |
Sets the pixel color at the given coordinates. If the bitmap was not locked beforehands,
an exception is thrown
|
![]() | SetPixel(Int32, Int32, Int32) |
Sets the pixel color at the given coordinates. If the bitmap was not locked beforehands,
an exception is thrown
|
![]() | SetPixel(Int32, Int32, UInt32) |
Sets the pixel color at the given coordinates. If the bitmap was not locked beforehands,
an exception is thrown
|
![]() ![]() | SliceBitmap |
Returns a bitmap that is a slice of the original provided 32bpp Bitmap.
The region must have a width and a height > 0, and must lie inside the source bitmap's area
|
![]() | ToString | (继承自 Object。) |
![]() | Unlock |
Unlocks the bitmap and applies the changes made to it. If the bitmap was not locked
beforehand, an exception is thrown
|
名称 | 说明 | |
---|---|---|
![]() ![]() | BytesPerPixel |
Specifies the number of bytes available per pixel of the bitmap object being manipulated
|
名称 | 说明 | |
---|---|---|
![]() | ConsoleWriteLine | (由 SystemEx 定义。) |
![]() | WriteConsole | (由 UConsole 定义。) |