System.Windows.Shapes Namespace

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

Classes

Ellipse

Draws an ellipse.

Line

Draws a straight line between two points.

Path

Draws a series of connected lines and curves.

Polygon

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

Polyline

Draws a series of connected straight lines.

Rectangle

Draws a rectangle.

Shape

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