Bahasa

StructuredCompositeActivityDesigner.DrawConnectors Metode

Definisi

Menggambar semua konektor untuk ditampilkan pada 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)

Parameter

graphics
Graphics

tempat Graphics untuk menggambar konektor.

pen
Pen

Pen untuk menggambar konektor.

points
Point[]

Array Point yang berisi titik akhir untuk masing-masing konektor untuk menggambar.

startCap
LineAnchor

LineAnchor yang menentukan grafik yang akan digambar di titik awal konektor.

endCap
LineAnchor

LineAnchor yang menentukan grafik yang akan digambar di titik akhir konektor.

Keterangan

Konektor adalah tautan antara perancang terpisah pada permukaan desain alur kerja. Tautan ini muncul sebagai garis pada permukaan desain dan setiap ujung garis terhubung ke titik yang terlihat pada perancang yang disambungkannya. Titik-titik ini disebut titik koneksi.

Berlaku untuk