ShapeUtil class

Offer methods which helps to process shapes objects.

public static class ShapeUtil


static GeometryPathToGraphicsPath(IGeometryPath)Converts IGeometryPath to GraphicsPath. GraphicsPath can be transformed in a different ways using its convenient methods and then transformed back into the IGeometryPath to use in GeometryShape via GraphicsPathToGeometryPath method.
static GraphicsPathToGeometryPath(GraphicsPath)Converts a GraphicsPath to the IGeometryPath Return value of the method call can be used to change the geometry of a IGeometryShape object with IGeometryShape.SetGeometryPaths method.

See Also