serialize


Description:

public Bytes serialize ()

Serializes the content of the renderer as SVG.

The SVG will be similar to the orignally loaded one, but is not guaranteed to be 100% identical.

This function serializes the DOM, i.e. the results of parsing the SVG. It does not reflect the effect of applying animations.

Parameters:

this

an SVG paintable

Returns:

the serialized contents