Class OdfSvgPathDataParser
Provides fast UTF-8 span-based parsing of SVG path data. 提供 SVG path data 的 UTF-8 Span 快速解析工具。
public static class OdfSvgPathDataParser
- Inheritance
-
OdfSvgPathDataParser
- Inherited Members
Methods
TryGetBounds(ReadOnlySpan<byte>, out OdfSvgPathBounds)
Attempts to parse the coordinate bounds from SVG path data. 嘗試從 SVG path data 解析座標邊界。
public static bool TryGetBounds(ReadOnlySpan<byte> utf8PathData, out OdfSvgPathBounds bounds)
Parameters
utf8PathDataReadOnlySpan<byte>The UTF-8 encoded SVG path data. / UTF-8 編碼的 SVG path data。
boundsOdfSvgPathBoundsThe parsed coordinate bounds. / 解析出的座標邊界。