ActivityDesignerPaintEventArgs 构造函数

定义

使用指定的图形、剪裁矩形、视区和设计器主题初始化类的新实例 ActivityDesignerPaintEventArgs

public:
 ActivityDesignerPaintEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipRectangle, System::Drawing::Rectangle viewPort, System::Workflow::ComponentModel::Design::ActivityDesignerTheme ^ designerTheme);
public ActivityDesignerPaintEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipRectangle, System.Drawing.Rectangle viewPort, System.Workflow.ComponentModel.Design.ActivityDesignerTheme designerTheme);
new System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * System.Workflow.ComponentModel.Design.ActivityDesignerTheme -> System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs
Public Sub New (graphics As Graphics, clipRectangle As Rectangle, viewPort As Rectangle, designerTheme As ActivityDesignerTheme)

参数

graphics
Graphics

Graphics用于绘制项的项。

clipRectangle
Rectangle

表示 Rectangle 要在其中绘制的矩形。

viewPort
Rectangle

要在其中绘制的视图端口。

designerTheme
ActivityDesignerTheme

ActivityDesignerTheme 要绘制的对象关联的对象。

适用于