Canvas 2D mozFillRule has been removed

Published: | Categories: Canvas & WebGL

Description

The deprecated CanvasRenderingContext2D.mozFillRule property has been removed in favour of the standardized fillRule parameter for the fill method. ctx.mozFillRule = "evenodd" can be simply replaced with ctx.fill("evenodd").

References