Creates a Path from the existing clipping path.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Type: System.Int32
Width of an image containing the clipping path.Type: System.Int32
Height of an image containing the clipping path.The clipping path is represented in relative coordinates, therefore you need to specify the height and width of the image.
using (var reader = new JpegReader(@"Images\1.jpg")) { var clippingPath = reader.ClippingPaths[0]; var path = Path.Create(clippingPath, reader.Width, reader.Height); }