无法绘制1px线

时间:2016-05-22 15:25:31

标签: createjs easeljs

图片def compute_distance(node, dic, node_distance, count, parent, my_list): my_list.append(node) ... compute_distance(child, dic, node_distance, count + 1, node, my_list) ...

busboy.on('field', function(fieldname, val) { req.body[fieldname] = val; }); 绘制2px行而不是1px。如果您截取下面的JSfiddle输出,您将看到该行高2px。

http://jsfiddle.net/7fbr9yan/

如何绘制1px线?

1 个答案:

答案 0 :(得分:1)

您在两行像素之间绘制的线条,因此它将其两侧着色为灰色而不是黑色。 将您的代码更改为

MariaDB [bb]> insert into table (val) VALUES(99);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table (val) VALUES(99)' at line 1

MariaDB [bb]> insert into `table` (val) VALUES(99);
Query OK, 1 row affected (0.00 sec)

MariaDB [bb]>

只能画一行像素。