StructuredCompositeActivityDesigner.DrawConnectors(Graphics, Pen, Point[], LineAnchor, LineAnchor) 方法

定義

繪製要在 StructuredCompositeActivityDesigner 上顯示的所有接點。Draws all of the connectors to display on the 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

參數

graphics
Graphics

要在其上繪製接點的 GraphicsThe Graphics on which to draw the connectors.

pen
Pen

要繪製接點的 PenThe Pen to draw the connectors.

points
Point[]

Point 陣列,其中包含要繪製之各接點的端點。The Point array that contains the endpoints for each of the connectors to draw.

startCap
LineAnchor

LineAnchor,可決定要在接點起始點繪製的圖形。A LineAnchor that determines the graphic to draw at connector start points.

endCap
LineAnchor

LineAnchor,可決定要在接點結束點繪製的圖形。A LineAnchor that determines the graphic to draw at connector end points.

備註

接點是工作流程設計介面上個別設計工具之間的連結。Connectors are links between separate designers on a workflow design surface. 這些連結會顯示為設計介面上的線條,而且每個線條結尾都會連接至其所連接之設計工具上的可見點。These links appear as lines on the design surface and each line end connects to a visible point on the designers it connects. 這些點稱為連線點。These points are called connection points.

適用於