GeometryPathToGraphicsPath()

ShapeUtil::GeometryPathToGraphicsPath(System::SharedPtr<IGeometryPath>) method

Converts IGeometryPath to System::Drawing::Drawing2D::GraphicsPath.

static System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath> Aspose::Slides::Util::ShapeUtil::GeometryPathToGraphicsPath(System::SharedPtr<IGeometryPath> geometryPath)

Arguments

ParameterTypeDescription
geometryPathSystem::SharedPtr<IGeometryPath>

Return Value

Graphics path

Remarks

GraphicsPath can be transformed in a different ways using its convenient methods and then transformed back into the IGeometryPath to use in GeometryShape via ShapeUtil::GraphicsPathToGeometryPath method.

See Also