ActivityDesignerTheme.GetBackgroundBrush(Rectangle) 方法

定義

取得筆刷,用於繪製傳遞之矩形所指定的區域。Gets a brush used to paint the area specified by the rectangle passed.

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

參數

rectangle
Rectangle

Rectangle,指定背景上區域的位置和大小。A Rectangle that specifies the location and size of the area on the background.

傳回

Brush,用於填滿圖形形狀內部,例如矩形、橢圓形、派形、多邊形和路徑。A Brush that is used to fill interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.

屬性

備註

背景筆刷可用來填滿設計工具背景的內部。The background brush is used to fill the interior of the background of the designer.

適用於