WPF: Get single points of a Path?
问题 I have a Path in WPF and I'd like to get the single points of this path. Is this somehow possible? (I used a WPF built-in PathSegment and I'd like to get the points that WPF calculated) Thanks for any hint! 回答1: Geometry.GetFlattenedPathGeometry returns " a polygonal approximation of the Geometry object. " You can then iterate over the figures and segments of the flattened Geometry: each figure should consist of a single PolyLineSegment , from which you can iterate over the Points property to