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 CanvasRenderingContext2D interface
linked to: canvas 2D API
alsoStandardizedBy W3C (HTML5 Recommendation)
linked to: W3C Recommendation
browserSupport Google Chrome
Microsoft Edge
Mozilla Firefox
Opera
Safari
competesWith SVG
WebGL
coordinateSystem origin at top-left corner
coordinateUnits CSS pixels
definedBy 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 API
linked to: canvas 2D API
Open Web Platform hasComponent Canvas API
linked to: canvas 2D API
Canvas 2D API accessedVia CanvasRenderingContext2D interface
subject linked to: canvas 2D API
linked to: canvas 2D API
Chrome Web Platform features includesAPI Canvas 2D API
linked to: canvas 2D API