public class ShapeUtil
extends java.lang.Object
Offer methods which helps to process shapes objects.
Constructor and Description |
---|
ShapeUtil() |
Modifier and Type | Method and Description |
---|---|
static android.graphics.Path |
geometryPathToGraphicsPath(IGeometryPath geometryPath)
Converts
IGeometryPath to Path . |
static IGeometryPath |
graphicsPathToGeometryPath(android.graphics.Path graphicsPath)
Converts a
graphicsPath to the IGeometryPath |
public static IGeometryPath graphicsPathToGeometryPath(android.graphics.Path graphicsPath)
Converts a graphicsPath
to the IGeometryPath
graphicsPath
- android.graphics.Path element.
public static android.graphics.Path geometryPathToGraphicsPath(IGeometryPath geometryPath)
Converts IGeometryPath
to Path
.
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(android.graphics.Path graphicsPath)
method.
geometryPath
- IGeometryPath element.Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.