canvas 2D API

E247962

The canvas 2D API is a web graphics interface that lets developers draw and manipulate 2D shapes, text, images, and animations directly in an HTML `<canvas>` element using JavaScript.

All labels observed (4)

Label Occurrences
Canvas API 2
Canvas 2D API 1
CanvasRenderingContext2D interface 1

How this entity was disambiguated

Statements (64)

Predicate Object
instanceOf HTML5 technology
JavaScript API
Web graphics API
accessedVia canvas 2D API self-linksurface differs
surface form: CanvasRenderingContext2D interface
alsoStandardizedBy W3C Recommendation
surface form: W3C (HTML5 Recommendation)
browserSupport Google Chrome
Microsoft Edge
Mozilla Firefox
Opera
Safari
competesWith SVG
WebGL
coordinateSystem origin at top-left corner
coordinateUnits CSS pixels
definedBy HTML Living Standard
surface form: WHATWG HTML specification
documentationURL https://html.spec.whatwg.org/multipage/canvas.html
drawingModel immediate mode
hasMethod arc
beginPath
clearRect
drawImage
fillRect
fillText
getImageData
lineTo
moveTo
putImageData
restore
save
strokeRect
strokeText
hasProperty fillStyle
font
globalAlpha
globalCompositeOperation
lineWidth
strokeStyle
introducedIn HTML5
mdnURL https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
obtainedBy HTMLCanvasElement.getContext("2d")
partOf HTML Living Standard
primaryLanguage JavaScript
retainsSceneGraph false
standardizedBy WHATWG
supports 2D graphics rendering
animations
compositing
event-driven drawing
image rendering
paths
pixel manipulation
raster-based drawing
shapes
text rendering
transformations
supportsGradient CanvasGradient
supportsOffscreen OffscreenCanvas (in supporting browsers)
supportsPattern CanvasPattern
supportsStateStack true
typicalUse custom UI components
data visualizations
games
image editors
usedWith HTML <canvas> element

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

HTML Living Standard defines canvas 2D API
Web APIs example canvas 2D API
this entity surface form: Canvas API
Open Web Platform hasComponent canvas 2D API
this entity surface form: Canvas API
canvas 2D API accessedVia canvas 2D API self-linksurface differs
subject surface form: Canvas 2D API
this entity surface form: CanvasRenderingContext2D interface
Chrome Web Platform features includesAPI canvas 2D API
this entity surface form: Canvas 2D API