Microsoft.UI.Xaml.Shapes Namespace

Defines basic shapes that are intended for decorative rendering or for compositing non-interactive parts of controls.

Classes

Ellipse

Draws an ellipse with a given Height and Width specified in device-independent pixel (DIP).

Line

Draws a straight line between two points.

Path

Draws a series of connected lines and curves. The line and curve dimensions are declared through the Data property, and can be specified either with Move and draw commands syntax, or with an object model.

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 with a given Height and Width specified in device-independent pixel (DIP).

Shape

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