StructuredCompositeActivityDesigner.DrawConnectors 方法

定义

绘制要在 StructuredCompositeActivityDesigner 上显示的所有连接器。

protected:
 void DrawConnectors(System::Drawing::Graphics ^ graphics, System::Drawing::Pen ^ pen, cli::array <System::Drawing::Point> ^ points, System::Workflow::ComponentModel::Design::LineAnchor startCap, System::Workflow::ComponentModel::Design::LineAnchor endCap);
protected void DrawConnectors (System.Drawing.Graphics graphics, System.Drawing.Pen pen, System.Drawing.Point[] points, System.Workflow.ComponentModel.Design.LineAnchor startCap, System.Workflow.ComponentModel.Design.LineAnchor endCap);
member this.DrawConnectors : System.Drawing.Graphics * System.Drawing.Pen * System.Drawing.Point[] * System.Workflow.ComponentModel.Design.LineAnchor * System.Workflow.ComponentModel.Design.LineAnchor -> unit
Protected Sub DrawConnectors (graphics As Graphics, pen As Pen, points As Point(), startCap As LineAnchor, endCap As LineAnchor)

参数

graphics
Graphics

要在其上绘制连接器的 Graphics

pen
Pen

用于绘制连接器的 Pen

points
Point[]

包含要绘制的每个连接器的端点的 Point 数组。

startCap
LineAnchor

确定要在连接器的起始点绘制的图形的 LineAnchor

endCap
LineAnchor

确定要在连接器的终点绘制的图形的 LineAnchor

注解

连接器是工作流设计图面上独立的设计器之间的链接。 这些链接在设计图面上显示为线,每条线的端点连接到其所连接的设计器上的可见点。 这些点称为连接点。

适用于