 | FastBitmapCopyFromArray 方法 |
Sweet 开发框架
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
命名空间:
SweetUI
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public void CopyFromArray(
int[] colors,
bool ignoreZeroes = false
)
Public Sub CopyFromArray (
colors As Integer(),
Optional ignoreZeroes As Boolean = false
)
member CopyFromArray :
colors : int[] *
?ignoreZeroes : bool
(* Defaults:
let _ignoreZeroes = defaultArg ignoreZeroes false
*)
-> unit
参数
- colors
- 类型:SystemInt32
The array of colors to copy - ignoreZeroes (Optional)
- 类型:SystemBoolean
Whether to ignore zeroes when copying the data
参见