Table of Contents

Class SvgPathParser

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

This class implements an event-based parser for the SVG path's d attribute values.

public class SvgPathParser : SvgNumberParser
Inheritance
SvgPathParser
Inherited Members

Constructors

SvgPathParser(ISvgPathHandler)

Creates a new PathParser.

Fields

_pathHandler

The path handler used to report parse events.

Properties

Handler

Allows an application to register a path handler.

If the application does not register a handler, all events reported by the parser will be silently ignored.

Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.

Methods

DoParse()

Method responsible for actually parsing data after AbstractParser has initialized itself.

ParseA()

Parses a 'A' command.

ParseC()

Parses a 'C' command.

ParseH()

Parses a 'H' command.

ParseL()

Parses a 'L' command.

ParseM()

Parses a 'M' command.

ParseQ()

Parses a 'Q' command.

ParseS()

Parses a 'S' command.

ParseT()

Parses a 'T' command.

ParseV()

Parses a 'V' command.

Parsea()

Parses a 'a' command.

Parsec()

Parses a 'c' command.

Parseh()

Parses a 'h' command.

Parsel()

Parses a 'l' command.

Parsem()

Parses a 'm' command.

Parseq()

Parses a 'q' command.

Parses()

Parses a 's' command.

Parset()

Parses a 't' command.

Parsev()

Parses a 'v' command.

ReportUnexpected(int)
SkipCommaSpaces2()

Skips the whitespaces and an optional comma.

SkipSubPath()

Skips a sub-path.

_parseL(bool)
_parsel(bool)