Dart
dart:html
OffscreenCanvasRenderingContext2D
clearRect method
clearRect
description
clearRect
method
Null safety
void
clearRect
(
num
x
,
num
y
,
num
width
,
num
height
)
Implementation
void clearRect(num x, num y, num width, num height) native;
Dart
dart:html
OffscreenCanvasRenderingContext2D
clearRect method
OffscreenCanvasRenderingContext2D class
Properties
canvas
direction
fillStyle
filter
font
globalAlpha
globalCompositeOperation
hashCode
imageSmoothingEnabled
imageSmoothingQuality
lineCap
lineDashOffset
lineJoin
lineWidth
miterLimit
runtimeType
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
strokeStyle
textAlign
textBaseline
Methods
arc
arcTo
beginPath
bezierCurveTo
clearRect
clip
closePath
commit
createImageData
createLinearGradient
createPattern
createRadialGradient
drawImage
ellipse
fill
fillRect
fillText
getImageData
getLineDash
isPointInPath
isPointInStroke
lineTo
measureText
moveTo
noSuchMethod
putImageData
quadraticCurveTo
rect
resetTransform
restore
rotate
save
scale
setLineDash
setTransform
stroke
strokeRect
strokeText
toString
transform
translate
Operators
operator ==