s&box docs
API ReferenceSandbox.Utility.Svg

public class Sandbox.Utility.Svg.SvgDocument

Helper class for reading Scalable Vector Graphics files.

Methods

Showing 1 methods

public static Sandbox.Utility.Svg.SvgDocument FromString(string contents)

Reads an SVG document from the given string, returning a list of path elements describing the shapes in the image.

Parameters

  • contents: SVG document contents.

Properties

Showing 1 properties

public System.Collections.Generic.IReadOnlyList`1<Sandbox.Utility.Svg.SvgPath> Sandbox.Utility.Svg.SvgDocument.Paths { get; set; }

List of all shapes in the document.

Metadata

FieldValue
NamespaceSandbox.Utility.Svg
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Utility.Svg.SvgDocument

On this page