VectSharp  2.2.1
A light library for C# vector graphics
VectSharp.ImageSharpUtils.ImageURIParser Class Reference

Provides a method to parse an image URI into a page. More...

Static Public Member Functions

static Func< string, bool, PageParser (Func< string, bool, Page > parseSVG)
 Parses an image URI into a page. This is intended to replace the default image URI interpreter in VectSharp.SVG.Parser.ParseImageURI. To do this, use something like: More...
 

Detailed Description

Provides a method to parse an image URI into a page.

Definition at line 29 of file ImageUriParser.cs.

Member Function Documentation

◆ Parser()

static Func<string, bool, Page> VectSharp.ImageSharpUtils.ImageURIParser.Parser ( Func< string, bool, Page parseSVG)
static

Parses an image URI into a page. This is intended to replace the default image URI interpreter in VectSharp.SVG.Parser.ParseImageURI. To do this, use something like:

VectSharp.SVG.Parser.ParseImageURI = VectSharp.ImageSharpUtils.ImageURIParser.Parser(VectSharp.SVG.Parser.ParseSVGURI);

Parameters
parseSVGA function to parse an SVG image uri into a page. You should pass VectSharp.SVG.Parser.ParseSVGURI as this argument.
Returns
A function to parse an image URI into a page.

Definition at line 37 of file ImageUriParser.cs.


The documentation for this class was generated from the following file: