Geometries

A Geometry is not a visual element like Shape, but rather the simplest possible abstract representation of a shape or path.

Geometry has a number of subclasses:

Image RectangleGeometry—Has a Rect property for defining its dimensions.

Image EllipseGeometry—Has RadiusX and RadiusY properties, plus a Center property.

Image LineGeometry—Has StartPoint and EndPoint properties to define a line segment.

PathGeometry—Contains a collection of PathFigure objects ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.