ShapeUtil
ShapeUtil class
Offer methods which helps to process shapes objects.
ShapeUtil
Name | Description |
---|---|
ShapeUtil() |
Returns: ShapeUtil
geometryPathToGraphicsPath
Name | Description |
---|---|
geometryPathToGraphicsPath (GeometryPath) | Converts IGeometryPath to java.awt.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) method. |
Parameters:
Name | Type | Description |
---|---|---|
geometryPath | GeometryPath |
Returns: Shape
graphicsPathToGeometryPath
Name | Description |
---|---|
graphicsPathToGeometryPath (Shape) | Converts a java.awt.Shape to the IGeometryPath |
Parameters:
Name | Type | Description |
---|---|---|
graphicsPath | Shape | Graphics path Return value of the method call can be used to change the geometry of a IGeometryShape object with IGeometryShape.SetGeometryPaths method. |
Returns: GeometryPath