add_group_shape method

add_group_shape

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.

Returns

Created GroupShape object.

def add_group_shape(self):
    ...

add_group_shape

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

Returns

Created GroupShape object.

def add_group_shape(self, svg_image, x, y, width, height):
    ...
ParameterTypeDescription
svg_imageISvgImageSvg 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.

See Also