rubenlg

Member since
rubenlg

Recent Docs Activity

View all activity
Page Date Comment

CanvasRenderingContext2D.clip()


Add ctx.beginPath() to the example, which is the correct thing to do. In this toy example it doesn't matter but in larger projects not using beginPath() will cause a major debugging headache since clipping regions might accumulate.