共用方式為


ActivityDesignerPaintEventArgs 建構函式

定義

使用指定的圖形、裁剪方框、檢視區 (Viewport) 和設計工具主題,初始化 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,與要繪製的物件關聯。

適用於