Skip to Content
101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50
book

101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50

by Adam Nathan
April 2011
Intermediate to advanced
1152 pages
27h 41m
English
Sams
Content preview from 101 Windows® Phone 7 Apps, Volume I: Developing Apps 1-50

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
Jim's Book

Jim's Book

Catherine Moolenschot

Publisher Resources

ISBN: 9780132660761Purchase book