162
|
Chapter 9: Shapes and Geometry
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Point2="150,50"
Point3="140,10" />
<BezierSegment .../> describes a Bezier curve between two points. Like ArcSegment,
BezierSegment must be the child of a PathFigure. Point1 affects the beginning segment
of the curve, while
Point2 affects the ending segment of the curve. Control points act
like magnets, pulling the curve toward them. Figure 9-3 shows the
BezierSegment
described above.
Attributes
Point1 (required)
Describes the first control point on the curve
Point2 (required)
Describes the second control point on the curve
Point3 (required)
Describes the end point of the curve
CloseSegment
Hierarchy: Freezable Animatable PathSegment
Type: Geometry
<CloseSegment />
<CloseSegment .../> represents the final line of a PathFigure, which joins the figure’s
last
Point to its first Point.
CombinedGeometry
Hierarchy: Freezable Animatable Geometry
Type: Geometry
<CombinedGeometry
CombineMode="Union|Xor|Exclude|Intersect" />
Figure 9-3. BezierSegment

Get XAML in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.