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

确定在连接点绘制的图形的 A LineAnchor

endCap
LineAnchor

确定在连接点绘制的图形的 A LineAnchor

注解

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

适用于