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

适用于