Example #1
0
 /// <summary>
 /// ESC V n
 /// </summary>
 public static byte[] Turn90Degrees(ClockwiseDirection clockwiseDirection)
 => new byte[]
 {
     0x1B, 0x56, (byte)clockwiseDirection
 };
Example #2
0
 public static Position GetNewPosition(ClockwiseDirection direcion)
 {
     return(ClockwiseDirections[(int)direcion]);
 }