API Reference
Class
MatrixXpmRenderer
Renders matrix modules to XPM.
Inheritance
- Object
- MatrixXpmRenderer
Methods
public static String Render(BitMatrix modules, MatrixPngRenderOptions opts, String name = null) #Returns:
StringRenders the module matrix to an XPM string.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- name System.String = null
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path, String name = null) #Returns:
StringRenders the module matrix to an XPM file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- path System.String
- name System.String = null
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName, String name = null) #Returns:
StringRenders the module matrix to an XPM file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- directory System.String
- fileName System.String
- name System.String = null
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream, String name = null) #Returns:
VoidRenders the module matrix to an XPM stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream
- name System.String = null