Editar

Partilhar via


GeometryDrawing Constructors

Definition

Initializes a new instance of the GeometryDrawing class.

Overloads

GeometryDrawing()

Initializes a new instance of the GeometryDrawing class.

GeometryDrawing(Brush, Pen, Geometry)

Initializes a new instance of the GeometryDrawing class with the specified Brush, Pen, and Geometry.

GeometryDrawing()

Initializes a new instance of the GeometryDrawing class.

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

Applies to

GeometryDrawing(Brush, Pen, Geometry)

Initializes a new instance of the GeometryDrawing class with the specified Brush, Pen, and Geometry.

public:
 GeometryDrawing(System::Windows::Media::Brush ^ brush, System::Windows::Media::Pen ^ pen, System::Windows::Media::Geometry ^ geometry);
public GeometryDrawing (System.Windows.Media.Brush brush, System.Windows.Media.Pen pen, System.Windows.Media.Geometry geometry);
new System.Windows.Media.GeometryDrawing : System.Windows.Media.Brush * System.Windows.Media.Pen * System.Windows.Media.Geometry -> System.Windows.Media.GeometryDrawing
Public Sub New (brush As Brush, pen As Pen, geometry As Geometry)

Parameters

brush
Brush

The brush used to fill this GeometryDrawing.

pen
Pen

The pen used to stroke this GeometryDrawing.

geometry
Geometry

The geometry.

Applies to