Class PathGeometryHelper
Create PatheGeometryHelper class
Inheritance
System.Object
PathGeometryHelper
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.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<Windows.Foundation.Point> | points | |
Windows.UI.Xaml.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 |
---|---|---|
Windows.UI.Xaml.Media.Geometry | geoSrc | |
Windows.UI.Xaml.Media.Transform | transform | |
System.Double | tolerance |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.PathGeometry | returns path geometry value |
GetPathFigure()
Create GetPathFigure method
Declaration
public PathFigure GetPathFigure()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.PathFigure | returns pathfigure value |
GetPathGeometry()
Create method GetPathGeomtry
Declaration
public PathGeometry GetPathGeometry()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.PathGeometry | returns pathgeometry value |
GetPointsOnFlattenedPath(PathGeometry)
Create List method GetPointsOnFlattenPath
Declaration
public List<Point> GetPointsOnFlattenedPath(PathGeometry FlattenedPath)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Media.PathGeometry | FlattenedPath |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<Windows.Foundation.Point> | returns list of path geometry points |
GetPolyLineSegment()
Create GetPolyLineSegment method
Declaration
public PolyLineSegment GetPolyLineSegment()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.PolyLineSegment | returns polylinesegment value |