Example #1
0
        internal async Task DrawRectangleAsyncInternal(Color color, ushort x, ushort y, ushort width, ushort height, bool filled)
        {
            Command c = new Command(CommandType.DirectNoReply);

            c.DrawRectangle(color, x, y, width, height, filled);
            await _brick.SendCommandAsyncInternal(c);
        }
Example #2
0
		internal async Task DrawRectangleAsyncInternal(Color color, ushort x, ushort y, ushort width, ushort height, bool filled)
		{
			Command c = new Command(CommandType.DirectNoReply);
			c.DrawRectangle(color, x, y, width, height, filled);
			await _brick.SendCommandAsyncInternal(c);
		}