Merge pull request #1018 from arturadib/webkit-dash
Webkit dashed line support
This commit is contained in:
commit
f97f41a1fe
@ -361,6 +361,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
||||
setDash: function canvasGraphicsSetDash(dashArray, dashPhase) {
|
||||
this.ctx.mozDash = dashArray;
|
||||
this.ctx.mozDashOffset = dashPhase;
|
||||
this.ctx.webkitLineDash = dashArray;
|
||||
this.ctx.webkitLineDashOffset = dashPhase;
|
||||
},
|
||||
setRenderingIntent: function canvasGraphicsSetRenderingIntent(intent) {
|
||||
TODO('set rendering intent: ' + intent);
|
||||
|
Loading…
Reference in New Issue
Block a user