Connector.OnPaintEdited 方法

定义

用于在将连接器从一种状态拖到另一种状态时绘制连接器。

protected public:
 virtual void OnPaintEdited(System::Workflow::ComponentModel::Design::ActivityDesignerPaintEventArgs ^ e, cli::array <System::Drawing::Point> ^ segments, cli::array <System::Drawing::Point> ^ segmentEditPoints);
protected internal virtual void OnPaintEdited (System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs e, System.Drawing.Point[] segments, System.Drawing.Point[] segmentEditPoints);
abstract member OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
override this.OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
Protected Friend Overridable Sub OnPaintEdited (e As ActivityDesignerPaintEventArgs, segments As Point(), segmentEditPoints As Point())

参数

e
ActivityDesignerPaintEventArgs

一个 ActivityDesignerPaintEventArgs 对象,指定要用于绘制对象的图形以及在其中绘制对象的剪辑矩形。

segments
Point[]

Connector 中的线段的坐标。

segmentEditPoints
Point[]

Connector 中的编辑点的坐标。

注解

当用户创建连接器、移动中心点或将终结点从一个活动移到另一个活动时,会调用此方法。

适用于