Close

Palette:SVG Ext

These Extensions reference a specific Palette:SVG. The Extension class of a SVG COMP


SVGExt

SVGExt description

Members

No operator specific members.


Methods

SVGExt.Center(self):

Called when loading file, changing file, or Reloading par is pulsed. It can be used to center the SVG in the WebRender when the transform matrix is set to default.

SVGExt.FitToViewport(self):

Called when loading file, changing file, or Reloading par is pulsed. It can be used to center the SVG in the WebRender when the transform matrix is set to default.

SVGExt.UpdateBackgroundColor(colorTuple):

When passsed a tuple (r,g,b,a), will remap the values to be web friendly and apply the change to the background color.