点击或拖拽改变大小

FastBitmap 方法

Sweet 开发框架

FastBitmap 类型公开以下成员。

方法
  名称说明
公共方法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
Top
扩展方法
  名称说明
公共扩展器方法ConsoleWriteLine (由 SystemEx 定义。)
公共扩展器方法WriteConsole (由 UConsole 定义。)
Top
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架