CodeGlyphX logo
CodeGlyphX

API Reference

Class

MatrixSvgzRenderer

Namespace CodeGlyphX.Rendering.Svgz
Assembly CodeGlyphX
Modifiers static

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 requiredposition: 0
opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions requiredposition: 1
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixSvgRenderOptions opts, String path) #
Returns: String

Renders the module matrix to an SVGZ file.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions requiredposition: 1
path System.String requiredposition: 2
public static String RenderToFile(BitMatrix modules, MatrixSvgRenderOptions opts, String directory, String fileName) #
Returns: String

Renders the module matrix to an SVGZ file under the specified directory.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions requiredposition: 1
directory System.String requiredposition: 2
fileName System.String requiredposition: 3
public static Void RenderToStream(BitMatrix modules, MatrixSvgRenderOptions opts, Stream stream) #
Returns: Void

Renders the module matrix to an SVGZ stream.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions requiredposition: 1
stream System.IO.Stream requiredposition: 2