ShapeUtil

ShapeUtil class

Offer methods which helps to process shapes objects.

ShapeUtil

NameDescription
ShapeUtil()

Returns: ShapeUtil


geometryPathToGraphicsPath

NameDescription
geometryPathToGraphicsPath (GeometryPath)Converts IGeometryPath to java.awt.Shape. GraphicsPath can be transformed in a different ways using its convenient functions and then transformed back into the IGeometryPath to use in GeometryShape via #graphicsPathToGeometryPath(java.awt.Shape graphicsPath) function.

Parameters:

NameTypeDescription
geometryPathGeometryPathIGeometryPath element.

Returns: Shape


graphicsPathToGeometryPath

NameDescription
graphicsPathToGeometryPath (Shape)Converts a java.awt.Shape graphicsPath to the IGeometryPath

Parameters:

NameTypeDescription
graphicsPathShapejava.awt.Shape element. Return value of the function call can be used to change the geometry of a IGeometryShape object with IGeometryShape.setGeometryPaths() function.

Returns: GeometryPath