multixy: draw accurate dot stroke
This commit is contained in:
parent
ab4e923c03
commit
a8e10f6e82
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ MultiXy.prototype.draw = function(){
|
|||
this.ctx.beginPath()
|
||||
this.ctx.arc(x, y, this.pointSize * PXSCALE, Math.PI * 2, false)
|
||||
this.ctx.fill()
|
||||
this.ctx.beginPath()
|
||||
this.ctx.arc(x, y, (this.pointSize-1) * PXSCALE, Math.PI * 2, false)
|
||||
this.ctx.stroke()
|
||||
|
||||
this.ctx.globalAlpha = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue