SKPathExtensionsToSKPath Method

Converts the specified Path instance to an SKPath object.

Definition

Namespace: KGySoft.Drawing.SkiaSharp
Assembly: KGySoft.Drawing.SkiaSharp (in KGySoft.Drawing.SkiaSharp.dll) Version: 10.0.0-rc.1
C#
public static SKPath ToSKPath(
	this Path path
)

Parameters

path  Path
The Path instance to convert to an SKPath.

Return Value

SKPath
An SKPath instance that represents the same geometry as the specified Path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Path. 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).

Exceptions

See Also