CodeGlyphX logo
CodeGlyphX

API Reference

Class

MatrixXpmRenderer

Namespace CodeGlyphX.Rendering.Xpm
Assembly CodeGlyphX
Modifiers static

Renders matrix modules to XPM.

Inheritance

  • Object
  • MatrixXpmRenderer

Methods

public static String Render(BitMatrix modules, MatrixPngRenderOptions opts, String name = null) #
Returns: String

Renders the module matrix to an XPM string.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
name System.String = null optionalposition: 2
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path, String name = null) #
Returns: String

Renders the module matrix to an XPM file.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
path System.String requiredposition: 2
name System.String = null optionalposition: 3
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName, String name = null) #
Returns: String

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

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
directory System.String requiredposition: 2
fileName System.String requiredposition: 3
name System.String = null optionalposition: 4
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream, String name = null) #
Returns: Void

Renders the module matrix to an XPM stream.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
stream System.IO.Stream requiredposition: 2
name System.String = null optionalposition: 3