点击或拖拽改变大小

DrawingContextDrawRectangle 方法

绘制矩形

命名空间:  CPF.Drawing
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public abstract void DrawRectangle(
	Brush strokeBrush,
	 in Stroke stroke,
	 in Rect rect
)

参数

strokeBrush
类型:CPF.DrawingBrush

[缺少 "M:CPF.Drawing.DrawingContext.DrawRectangle(CPF.Drawing.Brush,CPF.Drawing.Stroke@,CPF.Drawing.Rect@)" 的 <param name="strokeBrush"/> 文档]

stroke
类型:CPF.DrawingStrokeInAttribute

[缺少 "M:CPF.Drawing.DrawingContext.DrawRectangle(CPF.Drawing.Brush,CPF.Drawing.Stroke@,CPF.Drawing.Rect@)" 的 <param name="stroke"/> 文档]

rect
类型:CPF.DrawingRectInAttribute

[缺少 "M:CPF.Drawing.DrawingContext.DrawRectangle(CPF.Drawing.Brush,CPF.Drawing.Stroke@,CPF.Drawing.Rect@)" 的 <param name="rect"/> 文档]

参见