Chapter 9: Shapes and Geometry
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Most Shape and Geometry elements use instances of the structure Point, which is
detailed in this chapter.
Hierarchy: Freezable ➝ Animatable ➝ PathSegment
<Point X="5" Y="5" />
<ArcSegment .../> should be a child of PathFigure. It represents an elliptical arc
between two instances of
Point (Figure 9-2). ArcSegment does not contain its start point
location because the start point is assumed to be the current
Point of the parent
StrokeStartLineCap Enumeration Describes the shape used to draw the start of a line. Must
be one of:
No line cap.
The line is capped with a semicircle equal in diameter
to the line thickness.
The line is capped with a square whose sides are equal
in length to the line thickness.
The line is capped with a triangle equal in height to
the line thickness.
The default is
StrokeThickness Double Sets the width of the shape’s outline.
Height Double Describes the height of the element.
Width Double Describes the width of the element.
Table 9-1. Attributes common to all Shape elements (continued)
Property name Data type Purpose