Skip to main content

Class VelloSvg

Namespace: VelloSharp
Assembly: VelloSharp.dll

public sealed class VelloSvg : IDisposable

Inheritance

objectVelloSvg

Implements

IDisposable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Size

public Vector2 Size { get; }

Property Value

Vector2

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~VelloSvg()

protected ~VelloSvg()

LoadFromFile(string, float)

public static VelloSvg LoadFromFile(string path, float scale = 1)

Parameters

path string

scale float

Returns

VelloSvg

LoadFromString(string, float)

public static VelloSvg LoadFromString(string svg, float scale = 1)

Parameters

svg string

scale float

Returns

VelloSvg

LoadFromUtf8(ReadOnlySpan<byte>, float)

public static VelloSvg LoadFromUtf8(ReadOnlySpan<byte> utf8, float scale = 1)

Parameters

utf8 ReadOnlySpan<byte>

scale float

Returns

VelloSvg

Render(Scene, Matrix3x2?)

public void Render(Scene scene, Matrix3x2? transform = null)

Parameters

scene Scene

transform Matrix3x2?