rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.73k stars 208 forks source link

fillRect draws without path #300

Open bravequickcleverfibreyarn opened 1 year ago

bravequickcleverfibreyarn commented 1 year ago

Summary

fillRect draws independently of current path.

Ref: for instance MDN CanvasRenderingContext2D: fillRect() method states

This method draws directly to the canvas without modifying the current path …