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 java.awt.Shape |
geometryPathToGraphicsPath(IGeometryPath geometryPath)
Converts
IGeometryPath to Shape. |
static IGeometryPath |
graphicsPathToGeometryPath(java.awt.Shape graphicsPath)
Converts a
graphicsPath to the IGeometryPath |
public static IGeometryPath graphicsPathToGeometryPath(java.awt.Shape graphicsPath)
Converts a graphicsPath to the IGeometryPath
graphicsPath - java.awt.Shape element.
public static java.awt.Shape geometryPathToGraphicsPath(IGeometryPath geometryPath)
Converts IGeometryPath to Shape.
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(java.awt.Shape graphicsPath) method.
geometryPath - IGeometryPath element.Copyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.