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:
RectangleGeometry—Has a Rect
property for defining its dimensions.
EllipseGeometry—Has RadiusX
and RadiusY
properties, plus a Center
property.
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.