Skip to main content
System.Windows.Shapes Namespace

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

Provides access to a library of shapes that can be used in Extensible Application Markup Language (XAML) or code.

System_CAPS_pubclass Ellipse

Draws an ellipse.

System_CAPS_pubclass Line

Draws a straight line between two points.

System_CAPS_pubclass Path

Draws a series of connected lines and curves.

System_CAPS_pubclass Polygon

Draws a polygon, which is a connected series of lines that form a closed shape.

System_CAPS_pubclass Polyline

Draws a series of connected straight lines.

System_CAPS_pubclass Rectangle

Draws a rectangle.

System_CAPS_pubclass Shape

Provides a base class for shape elements, such as Ellipse, Polygon, and Rectangle.

Return to top