語言

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 要畫的物件相關聯。

適用於