Canvas 2D mozDash and mozDashOffset have been removed

Published: | Categories: Canvas & WebGL


The support for the non-standard, deprecated CanvasRenderingContext2D.mozDash and mozDashOffset properties have been removed with Firefox 52. Use the standardized getLineDash and setLineDash methods instead of the mozDash property. The lineDashOffset property is the standard equivalent of mozDashOffset.