API Reference
Class
MatrixIcoRenderer
Renders generic 2D matrices to ICO (PNG-embedded).
Inheritance
- Object
- MatrixIcoRenderer
Methods
Render 2 overloads
public static Byte[] Render(BitMatrix modules, MatrixPngRenderOptions opts) #Returns:
Byte[]Renders the matrix to an ICO byte array.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
public static Byte[] Render(BitMatrix modules, MatrixPngRenderOptions opts, IcoRenderOptions icoOptions) #Returns:
Byte[]Renders the matrix to an ICO byte array (multi-size).
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- icoOptions CodeGlyphX.Rendering.Ico.IcoRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path) #Returns:
StringRenders the matrix to an ICO 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 an ICO file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- directory System.String
- fileName System.String
RenderToStream 2 overloads
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream) #Returns:
VoidRenders the matrix to an ICO stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream, IcoRenderOptions icoOptions) #Returns:
VoidRenders the matrix to an ICO stream (multi-size).
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream
- icoOptions CodeGlyphX.Rendering.Ico.IcoRenderOptions