GeometryExtensionsToPath Method
Namespace: KGySoft.Drawing.WinUIAssembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 10.0.0-rc.1
public static Path ToPath(
this Geometry geometry
)
<ExtensionAttribute>
Public Shared Function ToPath (
geometry As Geometry
) As Path
public:
[ExtensionAttribute]
static Path^ ToPath(
Geometry^ geometry
)
[<ExtensionAttribute>]
static member ToPath :
geometry : Geometry -> Path
- geometry Geometry
- The Geometry instance to convert to a Path.
PathA
Path instance that represents the same geometry as the specified
Geometry.In Visual Basic and C#, you can call this method as an instance method on any object of type
Geometry. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).