🏠 New in Low Baseline Support: 2D canvas
July 29, 2015
The CanvasRenderingContext2D
API is the “2d” rendering context for the <canvas>
element. It represents a flat, two-dimensional space for drawing graphics and animations.
Source features
api.CanvasGradient
[mdn]api.CanvasGradient.addColorStop
[mdn]api.CanvasRenderingContext2D
[mdn]api.CanvasRenderingContext2D.arcTo
[mdn]api.CanvasRenderingContext2D.beginPath
[mdn]api.CanvasRenderingContext2D.bezierCurveTo
[mdn]api.CanvasRenderingContext2D.clearRect
[mdn]api.CanvasRenderingContext2D.clip
[mdn]api.CanvasRenderingContext2D.closePath
[mdn]api.CanvasRenderingContext2D.createLinearGradient
[mdn]api.CanvasRenderingContext2D.createPattern
[mdn]api.CanvasRenderingContext2D.createRadialGradient
[mdn]api.CanvasRenderingContext2D.drawImage
[mdn]api.CanvasRenderingContext2D.fill
[mdn]api.CanvasRenderingContext2D.fillRect
[mdn]api.CanvasRenderingContext2D.fillStyle
[mdn]api.CanvasRenderingContext2D.globalAlpha
[mdn]api.CanvasRenderingContext2D.globalCompositeOperation
[mdn]api.CanvasRenderingContext2D.lineCap
[mdn]api.CanvasRenderingContext2D.lineJoin
[mdn]api.CanvasRenderingContext2D.lineTo
[mdn]api.CanvasRenderingContext2D.lineWidth
[mdn]api.CanvasRenderingContext2D.miterLimit
[mdn]api.CanvasRenderingContext2D.moveTo
[mdn]api.CanvasRenderingContext2D.rect
[mdn]api.CanvasRenderingContext2D.restore
[mdn]api.CanvasRenderingContext2D.rotate
[mdn]api.CanvasRenderingContext2D.save
[mdn]api.CanvasRenderingContext2D.scale
[mdn]api.CanvasRenderingContext2D.shadowBlur
[mdn]api.CanvasRenderingContext2D.shadowColor
[mdn]api.CanvasRenderingContext2D.shadowOffsetX
[mdn]api.CanvasRenderingContext2D.shadowOffsetY
[mdn]api.CanvasRenderingContext2D.stroke
[mdn]api.CanvasRenderingContext2D.strokeRect
[mdn]api.CanvasRenderingContext2D.strokeStyle
[mdn]api.CanvasRenderingContext2D.translate
[mdn]api.CanvasRenderingContext2D.arc
[mdn]api.CanvasRenderingContext2D.canvas
[mdn]api.CanvasRenderingContext2D.quadraticCurveTo
[mdn]api.CanvasRenderingContext2D.isPointInPath
[mdn]api.CanvasRenderingContext2D.transform
[mdn]api.TextMetrics
[mdn]api.TextMetrics.width
[mdn]api.CanvasRenderingContext2D.getImageData
[mdn]api.CanvasRenderingContext2D.putImageData
[mdn]api.CanvasRenderingContext2D.setTransform
[mdn]api.CanvasRenderingContext2D.createImageData
[mdn]api.CanvasRenderingContext2D.fillText
[mdn]api.CanvasRenderingContext2D.font
[mdn]api.CanvasRenderingContext2D.measureText
[mdn]api.CanvasRenderingContext2D.strokeText
[mdn]api.CanvasRenderingContext2D.textAlign
[mdn]api.CanvasRenderingContext2D.textBaseline
[mdn]api.CanvasRenderingContext2D.getLineDash
[mdn]api.CanvasRenderingContext2D.lineDashOffset
[mdn]api.CanvasRenderingContext2D.setLineDash
[mdn]api.CanvasRenderingContext2D.ellipse
[mdn]api.CanvasRenderingContext2D.drawFocusIfNeeded
[mdn]api.CanvasRenderingContext2D.imageSmoothingEnabled
[mdn]api.CanvasRenderingContext2D.isPointInStroke
[mdn]api.CanvasRenderingContext2D.resetTransform
[mdn]api.CanvasRenderingContext2D.getTransform
[mdn]api.CanvasRenderingContext2D.direction
[mdn]api.CanvasRenderingContext2D.getContextAttributes
[mdn]api.TextMetrics.alphabeticBaseline
[mdn]api.TextMetrics.hangingBaseline
[mdn]api.TextMetrics.ideographicBaseline
[mdn]api.CanvasRenderingContext2D.filter
[mdn]api.CanvasRenderingContext2D.imageSmoothingQuality
[mdn]api.CanvasRenderingContext2D.fontKerning
[mdn]api.CanvasRenderingContext2D.letterSpacing
[mdn]api.CanvasRenderingContext2D.wordSpacing
[mdn]api.CanvasRenderingContext2D.textRendering
[mdn]api.CanvasRenderingContext2D.fontStretch
[mdn]api.CanvasRenderingContext2D.fontVariantCaps
[mdn]