OESVGGroup

class OESVGGroup

SVG group is a container for grouping and naming collections of SVG drawing elements.

Constructors

To create an OESVGGroup object on an image use the OEImageBase.NewSVGGroup method.

AddSVGClass

AddSVGClass(svg_class: OESVGClass) -> bool

Adds an OESVGClass object to the group. The SVG class and the SVG group have to be created on the same image.

GetId

GetId() -> str

Returns the name of the OESVGGroup object.

IsVisible

IsVisible() -> bool

Returns whether the objects drawn inside the given OESVGGroup will be visible when the image is opened.