Class SvgHelper
Inherited Members
Namespace: Mapsui.Utilities
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public static class SvgHelper
Methods
| Edit this page View SourceLoadSvg(Stream?)
Load Svg from String
Declaration
public static SKSvg? LoadSvg(this Stream? str)
Parameters
Type | Name | Description |
---|---|---|
Stream | str | string |
Returns
Type | Description |
---|---|
SKSvg | loaded svg image |
LoadSvg(string?)
Load Svg from String
Declaration
public static SKSvg? LoadSvg(this string? str)
Parameters
Type | Name | Description |
---|---|---|
string | str | string |
Returns
Type | Description |
---|---|
SKSvg | loaded svg image |
LoadSvgId(Type, string)
Declaration
public static int LoadSvgId(this Type typeInAssemblyOfEmbeddedResource, string relativePathToEmbeddedResource)
Parameters
Type | Name | Description |
---|---|---|
Type | typeInAssemblyOfEmbeddedResource | |
string | relativePathToEmbeddedResource |
Returns
Type | Description |
---|---|
int |
LoadSvgPicture(Stream?)
Load Svg Picture from String
Declaration
public static SKPicture? LoadSvgPicture(this Stream? str)
Parameters
Type | Name | Description |
---|---|---|
Stream | str | string |
Returns
Type | Description |
---|---|
SKPicture | loaded svg image |
LoadSvgPicture(string?)
Load Svg Picture from String
Declaration
public static SKPicture? LoadSvgPicture(this string? str)
Parameters
Type | Name | Description |
---|---|---|
string | str | string |
Returns
Type | Description |
---|---|
SKPicture | loaded svg image |