点击或拖拽改变大小

DrawingContextDrawLine 方法

绘制线条

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

参数

stroke
类型:CPF.DrawingStrokeInAttribute

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

strokeBrush
类型:CPF.DrawingBrush

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

point1
类型:CPF.DrawingPointInAttribute

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

point2
类型:CPF.DrawingPointInAttribute

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

参见