点击或拖拽改变大小

FastBitmapGetPixel 方法

Sweet 开发框架
Gets the pixel color at the given coordinates. If the bitmap was not locked beforehands, an exception is thrown

命名空间:  SweetUI
程序集:  SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public Color GetPixel(
	int x,
	int y
)

参数

x
类型:SystemInt32
The X coordinate of the pixel to get
y
类型:SystemInt32
The Y coordinate of the pixel to get

返回值

类型:Color

[缺少 "M:SweetUI.FastBitmap.GetPixel(System.Int32,System.Int32)" 的 <returns> 文档]

异常
异常条件
InvalidOperationExceptionThe fast bitmap is not locked
ArgumentOutOfRangeExceptionThe provided coordinates are out of bounds of the bitmap
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架