Api Sandbox Utility Svg SvgDocument
class

SvgDocument

public class SvgDocument

Helper class for reading Scalable Vector Graphics files.

Properties

Name Type Description
Paths IReadOnlyList<SvgPath> List of all shapes in the document.

Methods

static SvgDocument FromString(String contents)

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

contents — SVG document contents.
Assembly: Sandbox.Engine Namespace: Sandbox.Utility.Svg Full Name: Sandbox.Utility.Svg.SvgDocument