ActivityDesignerTheme.GetBackgroundBrush(Rectangle) 方法

定義

取得筆刷,用於繪製傳遞之矩形所指定的區域。

public:
 System::Drawing::Brush ^ GetBackgroundBrush(System::Drawing::Rectangle rectangle);
[System.ComponentModel.Browsable(false)]
public System.Drawing.Brush GetBackgroundBrush (System.Drawing.Rectangle rectangle);
[<System.ComponentModel.Browsable(false)>]
member this.GetBackgroundBrush : System.Drawing.Rectangle -> System.Drawing.Brush
Public Function GetBackgroundBrush (rectangle As Rectangle) As Brush

參數

rectangle
Rectangle

Rectangle,指定背景上區域的位置和大小。

傳回

Brush

Brush,用於填滿圖形形狀內部,例如矩形、橢圓形、派形、多邊形和路徑。

屬性

備註

背景筆刷可用來填滿設計工具背景的內部。

適用於