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:

Image LineSegment—A line segment (of course!)

Image PolyLineSegment—A shortcut for a connected sequence of LineSegments

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

BezierSegment—A cubic ...

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