Class PathGeometryHelper
Create PatheGeometryHelper class
Inheritance
System.Object
PathGeometryHelper
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class PathGeometryHelper : Object
Constructors
PathGeometryHelper()
Declaration
public PathGeometryHelper()
Methods
DumpFigureToList(List<Point>, PathFigure)
Transfers Pathfigure to List of points.
Declaration
public void DumpFigureToList(List<Point> points, PathFigure figSrc)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Windows.Point> | points | |
System.Windows.Media.PathFigure | figSrc |
FlattenGeometry(Geometry, Transform, Double)
Create FlattenGeometry method with parameters geometry,transform,double
Declaration
public PathGeometry FlattenGeometry(Geometry geoSrc, Transform transform, double tolerance)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.Geometry | geoSrc | |
System.Windows.Media.Transform | transform | |
System.Double | tolerance |
Returns
Type | Description |
---|---|
System.Windows.Media.PathGeometry | returns path geometry value |
GetPathFigure()
Create GetPathFigure method
Declaration
public PathFigure GetPathFigure()
Returns
Type | Description |
---|---|
System.Windows.Media.PathFigure | returns pathfigure value |
GetPathGeometry()
Create method GetPathGeomtry
Declaration
public PathGeometry GetPathGeometry()
Returns
Type | Description |
---|---|
System.Windows.Media.PathGeometry | returns pathgeometry value |
GetPointsOnFlattenedPath(PathGeometry)
Create List method GetPointsOnFlattenPath
Declaration
public List<Point> GetPointsOnFlattenedPath(PathGeometry FlattenedPath)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.PathGeometry | FlattenedPath |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Windows.Point> | returns list of path geometry points |
GetPolyLineSegment()
Create GetPolyLineSegment method
Declaration
public PolyLineSegment GetPolyLineSegment()
Returns
Type | Description |
---|---|
System.Windows.Media.PolyLineSegment | returns polylinesegment value |