menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PathGeometryHelper - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PathGeometryHelper

    Create PatheGeometryHelper class

    Inheritance
    System.Object
    PathGeometryHelper
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram.Utility
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class PathGeometryHelper

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved