GeometryDrawing Constructor (Brush, Pen, Geometry)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public GeometryDrawing(
	Brush brush,
	Pen pen,
	Geometry geometry
)

Parameters

brush
Type: System.Windows.Media.Brush

The brush used to fill this GeometryDrawing.

pen
Type: System.Windows.Media.Pen

The pen used to stroke this GeometryDrawing.

geometry
Type: System.Windows.Media.Geometry

The geometry

.NET Framework
Available since 3.0
Return to top
Show: