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 GraphicsPath.
|
static IGeometryPath |
graphicsPathToGeometryPath(android.graphics.Path graphicsPath)
Converts a GraphicsPath to the GeometryPath which can be used
to change geometry of a GeometryShape object within IGeometryShape.setGeometryPaths() method.
|
public static IGeometryPath graphicsPathToGeometryPath(android.graphics.Path graphicsPath)
Converts a GraphicsPath to the GeometryPath which can be used to change geometry of a GeometryShape object within IGeometryShape.setGeometryPaths() method.
graphicsPath
- android.graphics.Path element.public static android.graphics.Path geometryPathToGraphicsPath(IGeometryPath geometryPath)
Converts IGeometryPath to GraphicsPath. Since GraphicsPath provides variety of tools for manipulating paths this method can be useful for editing IGeometryPath as android.graphics.Path and converting result back to the IGeometryPath using method ShapeUtil.graphicsPathToGeometryPath().
geometryPath
- IGeometryPath element.Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.