/// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="brailleInterpreter">The braille interpreter. Interprets characters and turn them into dott patterns.</param>
 /// <param name="renderingProperties">The rendering properties to indiviualize the rendering result.</param>
 public MatrixBrailleRenderer(IBrailleInterpreter brailleInterpreter, RenderingProperties renderingProperties = RenderingProperties.NONE)
 {
     BrailleInterpreter  = brailleInterpreter;
     RenderingProperties = renderingProperties;
 }
示例#2
0
 public BrailleConverter()
 {
     brailleInterpreter = new BrailleIO.Renderer.BrailleInterpreter.SimpleBrailleInterpreter();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="renderingProperties">The rendering properties.</param>
 public MatrixBrailleRenderer(RenderingProperties renderingProperties = RenderingProperties.NONE, IBrailleInterpreter _brailleInterpreter = null)
     : this(_brailleInterpreter == null ? stdBrlIntrprtr : _brailleInterpreter, renderingProperties)
 {
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="brailleInterpreter">The braille interpreter. Interprets characters and turn them into dott patterns.</param>
 /// <param name="renderingProperties">The rendering properties to indiviualize the rendering result.</param>
 public MatrixBrailleRenderer(IBrailleInterpreter brailleInterpreter, RenderingProperties renderingProperties = RenderingProperties.NONE)
 {
     BrailleInterpreter  = brailleInterpreter;
     RenderingProperties = renderingProperties;
     loadConfiguration();
 }