PathFigures and PathSegments

Each PathFigure in a PathGeometry contains one or more connected PathSegments in its Segments content property. A PathSegment is a straight or curvy line segment, represented by one of seven derived classes:

LineSegment—A line segment (of course!)

PolyLineSegment—A shortcut for a connected sequence of LineSegments

ArcSegment—A segment that curves along the circumference of an imaginary ellipse

BezierSegment—A cubic Bézier curve

PolyBezierSegment—A shortcut for a connected sequence of BezierSegments

QuadraticBezierSegment—A quadratic Bézier curve

PolyQuadraticBezierSegment—A shortcut for a connected sequence of QuadraticBezierSegments

Get Universal Windows® Apps with XAML and C# 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.