API Reference
Class
MatrixSvgzRenderer
Renders matrix modules to SVGZ.
Inheritance
- Object
- MatrixSvgzRenderer
Methods
public static Byte[] Render(BitMatrix modules, MatrixSvgRenderOptions opts) #Returns:
Byte[]Renders the module matrix to SVGZ bytes.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixSvgRenderOptions opts, String path) #Returns:
StringRenders the module matrix to an SVGZ file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions
- path System.String
public static String RenderToFile(BitMatrix modules, MatrixSvgRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the module matrix to an SVGZ file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions
- directory System.String
- fileName System.String
public static Void RenderToStream(BitMatrix modules, MatrixSvgRenderOptions opts, Stream stream) #Returns:
VoidRenders the module matrix to an SVGZ stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions
- stream System.IO.Stream