点击或拖拽改变大小

FastBitmapSetPixel 方法 (Int32, Int32, Color)

Sweet 开发框架
Sets 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 void SetPixel(
	int x,
	int y,
	Color color
)

参数

x
类型:SystemInt32
The X coordinate of the pixel to set
y
类型:SystemInt32
The Y coordinate of the pixel to set
color
类型:System.DrawingColor
The new color of the pixel to set
异常
异常条件
InvalidOperationExceptionThe fast bitmap is not locked
ArgumentOutOfRangeExceptionThe provided coordinates are out of bounds of the bitmap
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架