Class SvgDocument
[Guid("86b88e4d-afa4-4d7b-88e4-68a51c4a0aec")]
public class SvgDocument : Resource
- Inheritance
-
SvgDocument
- Inherited Members
Constructors
SvgDocument(nint)
public SvgDocument(nint nativePtr)
Parameters
nativePtr
nint
Properties
Root
No documentation.
public SvgElement Root { get; set; }
Property Value
ViewportSize
No documentation.
public Size2F ViewportSize { get; set; }
Property Value
- Size2F
Methods
CreatePaint(SvgPaintType, RawColor4?, string, out SvgPaint)
No documentation.
public void CreatePaint(SvgPaintType paintType, RawColor4? color, string id, out SvgPaint aintRef)
Parameters
paintType
SvgPaintTypeNo documentation.
color
RawColor4?No documentation.
id
stringNo documentation.
aintRef
SvgPaintNo documentation.
CreatePathData(float[], int, SvgPathCommand[], int, out SvgPathData)
No documentation.
public void CreatePathData(float[] segmentData, int segmentDataCount, SvgPathCommand[] commands, int commandsCount, out SvgPathData athDataRef)
Parameters
segmentData
float[]No documentation.
segmentDataCount
intNo documentation.
commands
SvgPathCommand[]No documentation.
commandsCount
intNo documentation.
athDataRef
SvgPathDataNo documentation.
CreatePointCollection(RawVector2[], int, out SvgPointCollection)
No documentation.
public void CreatePointCollection(RawVector2[] ointsRef, int pointsCount, out SvgPointCollection ointCollectionRef)
Parameters
ointsRef
RawVector2[]No documentation.
pointsCount
intNo documentation.
ointCollectionRef
SvgPointCollectionNo documentation.
CreateStrokeDashArray(SvgLength[], int, out SvgStrokeDashArray)
No documentation.
public void CreateStrokeDashArray(SvgLength[] dashes, int dashesCount, out SvgStrokeDashArray strokeDashArray)
Parameters
dashes
SvgLength[]No documentation.
dashesCount
intNo documentation.
strokeDashArray
SvgStrokeDashArrayNo documentation.
Deserialize(IStream, out SvgElement)
No documentation.
public void Deserialize(IStream inputXmlStream, out SvgElement subtree)
Parameters
inputXmlStream
IStreamNo documentation.
subtree
SvgElementNo documentation.
FindElementById(string)
Finds an svg element by id
public SvgElement FindElementById(string id)
Parameters
id
stringId to lookup for
Returns
- SvgElement
SvgElement if found, null otherwise
Serialize(IStream, SvgElement)
No documentation.
public void Serialize(IStream outputXmlStream, SvgElement subtree)
Parameters
outputXmlStream
IStreamNo documentation.
subtree
SvgElementNo documentation.
Operators
explicit operator SvgDocument(nint)
public static explicit operator SvgDocument(nint nativePtr)
Parameters
nativePtr
nint