API Reference
Class
MatrixTgaRenderer
Renders generic 2D matrices to TGA.
Inheritance
- Object
- MatrixTgaRenderer
Methods
public static Byte[] Render(BitMatrix modules, MatrixPngRenderOptions opts) #Returns:
Byte[]Renders the matrix to a TGA byte array.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path) #Returns:
StringRenders the matrix to a TGA file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- path System.String
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the matrix to a TGA file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- directory System.String
- fileName System.String
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream) #Returns:
VoidRenders the matrix to a TGA stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream