SvgImage constructor

init

Creates new SvgImage object.

def __init__(self, data):
    ...
ParameterTypeDescription
databytesSvg data.

init

Creates new SvgImage object.

def __init__(self, svg_content):
    ...
ParameterTypeDescription
svg_contentstrSvg content.

init

Creates new SvgImage object.

def __init__(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseSvg stream.

init

Creates new SvgImage object.

def __init__(self, data, external_res_resolver, base_uri):
    ...
ParameterTypeDescription
databytesSvg data.
external_res_resolverIExternalResourceResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
base_uristrBase URI of the specified Svg. Used to resolve relative links.

init

Creates new SvgImage object.

def __init__(self, svg_content, external_res_resolver, base_uri):
    ...
ParameterTypeDescription
svg_contentstrSvg content.
external_res_resolverIExternalResourceResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
base_uristrBase URI of the specified Svg. Used to resolve relative links.

init

Creates new SvgImage object.

def __init__(self, stream, external_res_resolver, base_uri):
    ...
ParameterTypeDescription
streamio.RawIOBaseSvg stream.
external_res_resolverIExternalResourceResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
base_uristrBase URI of the specified Svg. Used to resolve relative links.

See Also