Palette:SVG Ext
(Redirected from Palette:webSvg Ext)
Jump to navigation
Jump to search
These Extensions reference a specific Palette:SVG. The Extension class of a SVG COMP
SVGExt[edit]
SVGExt description
Members[edit]
No operator specific members.
Methods[edit]
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.