HTML5 Canvas API

GPTKB entity

Statements (71)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:accessibleBy gptkb:JavaScript
gptkbp:alternativeTo gptkb:SVG
gptkb:Flash
gptkbp:attribute gptkb:class
height
id
width
gptkbp:canBe gptkb:CSS
gptkbp:canBeEmbeddedIn HTML documents
gptkbp:component canvas
gptkbp:documentation gptkb:MDN_Web_Docs
gptkb:W3C_Recommendation
https://www.w3.org/2000/01/rdf-schema#label HTML5 Canvas API
gptkbp:interface gptkb:CanvasRenderingContext2D
gptkb:WebGLRenderingContext
gptkbp:introducedIn gptkb:HTML5
gptkbp:limitation bitmap-based
no built-in accessibility
no built-in event model
no object model for drawn shapes
gptkbp:method stroke
arc
beginPath
clearRect
createLinearGradient
createPattern
createRadialGradient
drawImage
fill
fillRect
getContext
getImageData
lineTo
moveTo
putImageData
strokeRect
gptkbp:property gptkb:typeface
fillStyle
globalAlpha
globalCompositeOperation
lineWidth
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
strokeStyle
textAlign
textBaseline
gptkbp:relatedTo gptkb:CSS
gptkb:SVG
gptkb:DOM
gptkb:WebGL
gptkbp:standardizedBy gptkb:W3C
gptkbp:supportedBy gptkb:opera
gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
gptkbp:supports 2D graphics
pixel manipulation
WebGL (3D graphics)
event handling via DOM
gptkbp:usedFor animation
game development
drawing graphics
rendering images
gptkbp:bfsParent gptkb:NanoVG
gptkb:CanvasRenderingContext
gptkb:Path2D
gptkbp:bfsLayer 8