Click or drag to resize

Polyline Class

Extensions to properly display a Polyline in the coordinates of the containing canvas. It normalizes the points and aligns the polyline so the coordinates of the points match the coordinates of the canvas.
Inheritance Hierarchy
SystemObject
  TomsToolbox.Wpf.XamlExtensionsPolyline

Namespace: TomsToolbox.Wpf.XamlExtensions
Assembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static class Polyline

The Polyline type exposes the following members.

Methods
 NameDescription
Public Extension MethodGetBoundingRect Gets the bounding rectangle of all points.
Public methodStatic memberGetDataPoints Gets the data points in the canvas coordinates.
Public methodStatic memberSetDataPoints Sets the data points in the canvas coordinates.
Top
Fields
 NameDescription
Public fieldStatic memberDataPointsProperty Identifies the DataPoints attached property
Top
Attached Properties
 NameDescription
Public propertyDataPoints A helper property to normalize the data points and align the Polyline in the containing canvas, so the data points match the coordinates of the canvas.
Top
See Also