parse method
Parses the SVG path.
Implementation
Path parse() {
// Scan streamStart Token
_parseStreamStart();
while (_scanner.peek()!.type != TokenType.streamEnd) {
_parseCommand();
}
_parseStreamEnd();
return this.path;
}
Parses the SVG path.
Path parse() {
// Scan streamStart Token
_parseStreamStart();
while (_scanner.peek()!.type != TokenType.streamEnd) {
_parseCommand();
}
_parseStreamEnd();
return this.path;
}