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用于填充图形形状的内部,如矩形、椭圆、馅饼、多边形和路径。

属性

注解

背景画笔用于填充设计器的背景的内部。

适用于