Results 121 - 129 of 129

CanvasRenderingContext2D.imageSmoothingEnabled

The CanvasRenderingContext2D.imageSmoothingEnabled property of the Canvas 2D API can be set to change if images are smoothed (true, default) or not (false). On getting the imageSmoothingEnabled property, the last value it was set to, is returned.
API Canvas CanvasRenderingContext2D Experimental Expérimental Property Reference

CanvasRenderingContext2D.removeHitRegion()

The CanvasRenderingContext2D.removeHitRegion() method of the Canvas 2D API removes a given hit region from the canvas.
API Canvas CanvasRenderingContext2D Experimental Expérimental Method Reference

CanvasRenderingContext2D.resetTransform()

The CanvasRenderingContext2D.resetTransform() method of the Canvas 2D API resets the current transform by the identity matrix.
Canvas CanvasRenderingContext2D Experimental Expérimental Method Reference Référence

MouseEvent.region

The MouseEvent.region read-only property returns the id of the canvas hit region affected by the event. If no hit region is affected, null is returned.
API Canvas DOM Events MouseEvent Property Read-only Reference Référence

Path2D.addPath()

The Path2D.addPath() method of the Canvas 2D API adds to the path the path given by the argument.
API Canvas Method Path2D Path2D.addPath Reference Référence

Path2D()

The Path2D() constructor returns a newly instantiated Path2D object, optionally with another path as an argument (creates a copy), or optionally with a string consisting of SVG path data.
API Canvas Constructor Drawing Graphics Path2D Paths Reference Référence

<canvas>

The HTML <canvas> Element can be used to draw graphics via scripting (usually JavaScript). For example, it can be used to draw graphs, make photo compositions or even perform animations. You may (and should) provide alternate content inside the <canvas> block. That content will be rendered both on older browsers that don't support canvas and in browsers with JavaScript disabled.
Canvas Element HTML HTML scripting HTML5 Reference Web