Constructor MonoSvgImage
MonoSvgImage(string, SvgImageDataKind, bool)
Initializes a new instance of the MonoSvgImage class loading it from the specified url or xml string.
public MonoSvgImage(string urlOrData, SvgImageDataKind kind = SvgImageDataKind.Url, bool throwException = true)
Parameters
urlOrData
stringImage url or data.
kind
SvgImageDataKindImage data kind.
throwException
boolIndicates whether to throw an exception if loading fails.
MonoSvgImage(Stream, bool)
Initializes a new instance of the MonoSvgImage class loading it from the specified stream.
public MonoSvgImage(Stream stream, bool throwException = true)
Parameters
stream
StreamStream with image data.
throwException
boolIndicates whether to throw an exception if loading fails.
MonoSvgImage()
Initializes a new instance of the MonoSvgImage class.
public MonoSvgImage()