addGroupShape

Contents
[ ]

addGroupShape() function

Creates a new GroupShape and adds it to the end of the collection. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.

Result

GroupShape


addGroupShape(SvgImage svgImage, float x, float y, float width, float height) function

Creates a new GroupShape, fills it with converted shapes from SVG and adds it to the end of the collection.

Parameters

NameTypeDescription
svgImageSvgImageSvg image object ISvgImage
xfloatThe X coordinate for the left side of the shape group frame.
yfloatThe Y coordinate for the top side of the shape group frame.
widthfloatThe width of the group of the shape group frame.
heightfloatThe height of a group of the shape group frame.

Result

GroupShape