Table of Contents

Class MonoSvgImage

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SvgImage descendant which works with mono (single color) svg images.

public class MonoSvgImage : SvgImage, IBaseObject
Inheritance
MonoSvgImage
Implements

Constructors

MonoSvgImage()

Initializes a new instance of the MonoSvgImage class.

MonoSvgImage(Stream, bool)

Initializes a new instance of the MonoSvgImage class loading it from the specified stream.

MonoSvgImage(string, SvgImageDataKind, bool)

Initializes a new instance of the MonoSvgImage class loading it from the specified url or xml string.

Properties

NumOfColors

Gets number of colors in svg, passed in the constructor.

Methods

FromFile(string)

Creates MonoSvgImage from the specified svg file.