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)
Syntax
public static class Polyline

The Polyline type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetBoundingRect
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 attached 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