O'Reilly logo

101 Windows by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix E. Geometry Reference

In Silverlight, a geometry is the simplest possible abstract representation of a shape or path. Geometries are used in two places—the value for Path.Data and the value for UIElement.Clip. These properties are of type Geometry, an abstract base class with several subclasses.

Basic Geometries

The four basic geometries are as follows:

RectangleGeometry—Has a Rect property for defining its dimensions and RadiusX and RadiusY properties for defining rounded corners

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

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

PathGeometry ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required