Class GeometryExtension
- Namespace
- H.Extensions.Common
- Assembly
- H.Extensions.Common.dll
public static class GeometryExtension
- Inheritance
-
GeometryExtension
- Inherited Members
Methods
GetGeometry(string)
public static Geometry GetGeometry(this string data)
Parameters
datastring
Returns
GetTotalLength(Geometry)
获取路径总长度
public static double GetTotalLength(this Geometry geometry)
Parameters
geometryGeometry
Returns
GetTotalLength(Geometry, Size, double)
获取路径总长度
public static double GetTotalLength(this Geometry geometry, Size size, double strokeThickness = 1)