@Tezumie I'm a bit confused about what this code is doing:
if ($._fillSet) {
$.ctx.fillStyle = $.color($.ctx.fillStyle).toString();
}
if ($._strokeSet) {
$.ctx.strokeStyle = $.color($.ctx.strokeStyle).toString();
}
It seems like it would do nothing in cases where the fill and stroke styles can be parse by color. Do you mean to put back the original fill and stroke that the user had set before using erase ?
@Tezumie I'm a bit confused about what this code is doing:
It seems like it would do nothing in cases where the fill and stroke styles can be parse by color. Do you mean to put back the original fill and stroke that the user had set before using
erase
?