Updates shape geometry from IGeometryPath object. Coordinates must be relative to the left top corner of the shape. Changes the type of the shape (ShapeType( #getShapeType/ #setShapeType(int))) to ShapeType#Custom.
Updates shape geometry from array of IGeometryPath. Coordinates must be relative to the left top corner of the shape. Changes the type of the shape (ShapeType( #getShapeType/ #setShapeType(int))) to ShapeType#Custom.
Parameters:
Name
Type
Description
geometryPaths
com.aspose.slides.IGeometryPath[]
Array geometry paths
Error
Error
Condition
ArgumentException
Empty path
setShapeType
Name
Description
setShapeType (int)
Returns or sets the geometry preset type. Note: on value changing all adjustment values will reset to their default values. Read/write ShapeType.