Redigera

Dela via


DrawingBrush Constructors

Definition

Initializes a new instance of the DrawingBrush class.

Overloads

DrawingBrush()

Initializes a new instance of the DrawingBrush class. The resulting brush has no content.

DrawingBrush(Drawing)

Initializes a new instance of the DrawingBrush class that contains the specified Drawing.

DrawingBrush()

Initializes a new instance of the DrawingBrush class. The resulting brush has no content.

public:
 DrawingBrush();
public DrawingBrush ();
Public Sub New ()

Applies to

DrawingBrush(Drawing)

Initializes a new instance of the DrawingBrush class that contains the specified Drawing.

public:
 DrawingBrush(System::Windows::Media::Drawing ^ drawing);
public DrawingBrush (System.Windows.Media.Drawing drawing);
new System.Windows.Media.DrawingBrush : System.Windows.Media.Drawing -> System.Windows.Media.DrawingBrush
Public Sub New (drawing As Drawing)

Parameters

drawing
Drawing

The Drawing that describes the contents of the brush.

Applies to