@univerjs/engine-render v0.4.2 • Docs
Interface: IContext2D
Extends
CanvasRenderingContext2D
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
backingStorePixelRatio | public | number | - | - | submodules/univer/packages/engine-render/src/basics/draw.ts:31 (opens in a new tab) |
canvas | readonly | HTMLCanvasElement | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.canvas | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5548 |
direction | public | CanvasDirection | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.direction | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5589 |
fillStyle | public | string | CanvasGradient | CanvasPattern | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.fillStyle | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5416 |
filter | public | string | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.filter | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5431 |
font | public | string | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.font | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5591 |
fontKerning | public | CanvasFontKerning | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.fontKerning | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5593 |
fontStretch | public | CanvasFontStretch | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.fontStretch | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5595 |
fontVariantCaps | public | CanvasFontVariantCaps | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.fontVariantCaps | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5597 |
globalAlpha | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.globalAlpha | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5382 |
globalCompositeOperation | public | GlobalCompositeOperation | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.globalCompositeOperation | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5384 |
imageSmoothingEnabled | public | boolean | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.imageSmoothingEnabled | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5468 |
imageSmoothingQuality | public | ImageSmoothingQuality | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.imageSmoothingQuality | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5470 |
letterSpacing | public | string | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.letterSpacing | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5599 |
lineCap | public | CanvasLineCap | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.lineCap | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5498 |
lineDashOffset | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.lineDashOffset | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5500 |
lineJoin | public | CanvasLineJoin | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.lineJoin | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5502 |
lineWidth | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.lineWidth | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5504 |
miterLimit | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.miterLimit | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5506 |
mozBackingStorePixelRatio | public | number | - | - | submodules/univer/packages/engine-render/src/basics/draw.ts:28 (opens in a new tab) |
msBackingStorePixelRatio | public | number | - | - | submodules/univer/packages/engine-render/src/basics/draw.ts:29 (opens in a new tab) |
oBackingStorePixelRatio | public | number | - | - | submodules/univer/packages/engine-render/src/basics/draw.ts:30 (opens in a new tab) |
shadowBlur | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.shadowBlur | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5560 |
shadowColor | public | string | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.shadowColor | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5562 |
shadowOffsetX | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.shadowOffsetX | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5564 |
shadowOffsetY | public | number | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.shadowOffsetY | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5566 |
strokeStyle | public | string | CanvasGradient | CanvasPattern | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.strokeStyle | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5418 |
textAlign | public | CanvasTextAlign | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.textAlign | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5601 |
textBaseline | public | CanvasTextBaseline | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.textBaseline | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5603 |
textRendering | public | CanvasTextRendering | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.textRendering | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5605 |
webkitBackingStorePixelRatio | public | number | - | - | submodules/univer/packages/engine-render/src/basics/draw.ts:27 (opens in a new tab) |
wordSpacing | public | string | MDN Reference (opens in a new tab) | CanvasRenderingContext2D.wordSpacing | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5607 |
Methods
arc()
arc(x, y, radius, startAngle, endAngle, counterclockwise)
arc(
x,
y,
radius,
startAngle,
endAngle,
counterclockwise?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
radius | number |
startAngle | number |
endAngle | number |
counterclockwise ? | boolean |
Returns
void
Inherited from
CanvasRenderingContext2D.arc
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5475
arc(x, y, radius, startAngle, endAngle, counterclockwise)
arc(
x,
y,
radius,
startAngle,
endAngle,
counterclockwise?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
radius | number |
startAngle | number |
endAngle | number |
counterclockwise ? | boolean |
Returns
void
Inherited from
CanvasRenderingContext2D.arc
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1592
arcTo()
arcTo(x1, y1, x2, y2, radius)
arcTo(
x1,
y1,
x2,
y2,
radius): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x1 | number |
y1 | number |
x2 | number |
y2 | number |
radius | number |
Returns
void
Inherited from
CanvasRenderingContext2D.arcTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5477
arcTo(x1, y1, x2, y2, radius)
arcTo(
x1,
y1,
x2,
y2,
radius): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x1 | number |
y1 | number |
x2 | number |
y2 | number |
radius | number |
Returns
void
Inherited from
CanvasRenderingContext2D.arcTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1594
beginPath()
beginPath(undefined)
beginPath(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.beginPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5396
beginPath(undefined)
beginPath(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.beginPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1513
bezierCurveTo()
bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
bezierCurveTo(
cp1x,
cp1y,
cp2x,
cp2y,
x,
y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
cp1x | number |
cp1y | number |
cp2x | number |
cp2y | number |
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.bezierCurveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5479
bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
bezierCurveTo(
cp1x,
cp1y,
cp2x,
cp2y,
x,
y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
cp1x | number |
cp1y | number |
cp2x | number |
cp2y | number |
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.bezierCurveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1596
clearRect()
clearRect(x, y, w, h)
clearRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.clearRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5534
clearRect(x, y, w, h)
clearRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.clearRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1651
clip()
clip(fillRule)
clip(fillRule?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.clip
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5398
clip(path, fillRule)
clip(path, fillRule?): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.clip
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5399
clip(fillRule)
clip(fillRule?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.clip
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1515
clip(path, fillRule)
clip(path, fillRule?): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.clip
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1516
closePath()
closePath(undefined)
closePath(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.closePath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5481
closePath(undefined)
closePath(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.closePath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1598
createConicGradient()
createConicGradient(startAngle, x, y)
createConicGradient(
startAngle,
x,
y): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
startAngle | number |
x | number |
y | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createConicGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5420
createConicGradient(startAngle, x, y)
createConicGradient(
startAngle,
x,
y): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
startAngle | number |
x | number |
y | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createConicGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1537
createImageData()
createImageData(sw, sh, settings)
createImageData(
sw,
sh,
settings?): ImageData
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
sw | number |
sh | number |
settings ? | ImageDataSettings |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.createImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5457
createImageData(imagedata)
createImageData(imagedata): ImageData
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.createImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5458
createImageData(sw, sh, settings)
createImageData(
sw,
sh,
settings?): ImageData
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
sw | number |
sh | number |
settings ? | ImageDataSettings |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.createImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1574
createImageData(imagedata)
createImageData(imagedata): ImageData
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.createImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1575
createLinearGradient()
createLinearGradient(x0, y0, x1, y1)
createLinearGradient(
x0,
y0,
x1,
y1): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x0 | number |
y0 | number |
x1 | number |
y1 | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createLinearGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5422
createLinearGradient(x0, y0, x1, y1)
createLinearGradient(
x0,
y0,
x1,
y1): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x0 | number |
y0 | number |
x1 | number |
y1 | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createLinearGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1539
createPattern()
createPattern(image, repetition)
createPattern(image, repetition): null | CanvasPattern
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
repetition | null | string |
Returns
null
| CanvasPattern
Inherited from
CanvasRenderingContext2D.createPattern
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5424
createPattern(image, repetition)
createPattern(image, repetition): null | CanvasPattern
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
repetition | null | string |
Returns
null
| CanvasPattern
Inherited from
CanvasRenderingContext2D.createPattern
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1541
createRadialGradient()
createRadialGradient(x0, y0, r0, x1, y1, r1)
createRadialGradient(
x0,
y0,
r0,
x1,
y1,
r1): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x0 | number |
y0 | number |
r0 | number |
x1 | number |
y1 | number |
r1 | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createRadialGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5426
createRadialGradient(x0, y0, r0, x1, y1, r1)
createRadialGradient(
x0,
y0,
r0,
x1,
y1,
r1): CanvasGradient
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x0 | number |
y0 | number |
r0 | number |
x1 | number |
y1 | number |
r1 | number |
Returns
CanvasGradient
Inherited from
CanvasRenderingContext2D.createRadialGradient
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1543
drawFocusIfNeeded()
drawFocusIfNeeded(element)
drawFocusIfNeeded(element): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
element | Element |
Returns
void
Inherited from
CanvasRenderingContext2D.drawFocusIfNeeded
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5630
drawFocusIfNeeded(path, element)
drawFocusIfNeeded(path, element): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
element | Element |
Returns
void
Inherited from
CanvasRenderingContext2D.drawFocusIfNeeded
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5631
drawImage()
drawImage(image, dx, dy)
drawImage(
image,
dx,
dy): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
dx | number |
dy | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5389
drawImage(image, dx, dy, dw, dh)
drawImage(
image,
dx,
dy,
dw,
dh): void
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
dx | number |
dy | number |
dw | number |
dh | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5390
drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
drawImage(
image,
sx,
sy,
sw,
sh,
dx,
dy,
dw,
dh): void
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
sx | number |
sy | number |
sw | number |
sh | number |
dx | number |
dy | number |
dw | number |
dh | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5391
drawImage(image, dx, dy)
drawImage(
image,
dx,
dy): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
dx | number |
dy | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1506
drawImage(image, dx, dy, dw, dh)
drawImage(
image,
dx,
dy,
dw,
dh): void
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
dx | number |
dy | number |
dw | number |
dh | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1507
drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
drawImage(
image,
sx,
sy,
sw,
sh,
dx,
dy,
dw,
dh): void
Parameters
Parameter | Type |
---|---|
image | CanvasImageSource |
sx | number |
sy | number |
sw | number |
sh | number |
dx | number |
dy | number |
dw | number |
dh | number |
Returns
void
Inherited from
CanvasRenderingContext2D.drawImage
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1508
ellipse()
ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, counterclockwise)
ellipse(
x,
y,
radiusX,
radiusY,
rotation,
startAngle,
endAngle,
counterclockwise?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
radiusX | number |
radiusY | number |
rotation | number |
startAngle | number |
endAngle | number |
counterclockwise ? | boolean |
Returns
void
Inherited from
CanvasRenderingContext2D.ellipse
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5483
ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, counterclockwise)
ellipse(
x,
y,
radiusX,
radiusY,
rotation,
startAngle,
endAngle,
counterclockwise?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
radiusX | number |
radiusY | number |
rotation | number |
startAngle | number |
endAngle | number |
counterclockwise ? | boolean |
Returns
void
Inherited from
CanvasRenderingContext2D.ellipse
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1600
fill()
fill(fillRule)
fill(fillRule?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.fill
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5401
fill(path, fillRule)
fill(path, fillRule?): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.fill
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5402
fill(fillRule)
fill(fillRule?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.fill
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1518
fill(path, fillRule)
fill(path, fillRule?): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
fillRule ? | CanvasFillRule |
Returns
void
Inherited from
CanvasRenderingContext2D.fill
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1519
fillRect()
fillRect(x, y, w, h)
fillRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.fillRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5536
fillRect(x, y, w, h)
fillRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.fillRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1653
fillText()
fillText(text, x, y, maxWidth)
fillText(
text,
x,
y,
maxWidth?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
x | number |
y | number |
maxWidth ? | number |
Returns
void
Inherited from
CanvasRenderingContext2D.fillText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5580
fillText(text, x, y, maxWidth)
fillText(
text,
x,
y,
maxWidth?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
x | number |
y | number |
maxWidth ? | number |
Returns
void
Inherited from
CanvasRenderingContext2D.fillText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1680
getContextAttributes()
getContextAttributes(): CanvasRenderingContext2DSettings
MDN Reference (opens in a new tab)
Returns
CanvasRenderingContext2DSettings
Inherited from
CanvasRenderingContext2D.getContextAttributes
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5550
getImageData()
getImageData(sx, sy, sw, sh, settings)
getImageData(
sx,
sy,
sw,
sh,
settings?): ImageData
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
sx | number |
sy | number |
sw | number |
sh | number |
settings ? | ImageDataSettings |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.getImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5460
getImageData(sx, sy, sw, sh, settings)
getImageData(
sx,
sy,
sw,
sh,
settings?): ImageData
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
sx | number |
sy | number |
sw | number |
sh | number |
settings ? | ImageDataSettings |
Returns
ImageData
Inherited from
CanvasRenderingContext2D.getImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1577
getLineDash()
getLineDash(undefined)
getLineDash(): number[]
MDN Reference (opens in a new tab)
Returns
number
[]
Inherited from
CanvasRenderingContext2D.getLineDash
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5508
getLineDash(undefined)
getLineDash(): number[]
MDN Reference (opens in a new tab)
Returns
number
[]
Inherited from
CanvasRenderingContext2D.getLineDash
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1625
getTransform()
getTransform(undefined)
getTransform(): DOMMatrix
MDN Reference (opens in a new tab)
Returns
DOMMatrix
Inherited from
CanvasRenderingContext2D.getTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5612
getTransform(undefined)
getTransform(): DOMMatrix
MDN Reference (opens in a new tab)
Returns
DOMMatrix
Inherited from
CanvasRenderingContext2D.getTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1712
isPointInPath()
isPointInPath(x, y, fillRule)
isPointInPath(
x,
y,
fillRule?): boolean
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
fillRule ? | CanvasFillRule |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5404
isPointInPath(path, x, y, fillRule)
isPointInPath(
path,
x,
y,
fillRule?): boolean
Parameters
Parameter | Type |
---|---|
path | Path2D |
x | number |
y | number |
fillRule ? | CanvasFillRule |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5405
isPointInPath(x, y, fillRule)
isPointInPath(
x,
y,
fillRule?): boolean
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
fillRule ? | CanvasFillRule |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1521
isPointInPath(path, x, y, fillRule)
isPointInPath(
path,
x,
y,
fillRule?): boolean
Parameters
Parameter | Type |
---|---|
path | Path2D |
x | number |
y | number |
fillRule ? | CanvasFillRule |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInPath
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1522
isPointInStroke()
isPointInStroke(x, y)
isPointInStroke(x, y): boolean
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInStroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5407
isPointInStroke(path, x, y)
isPointInStroke(
path,
x,
y): boolean
Parameters
Parameter | Type |
---|---|
path | Path2D |
x | number |
y | number |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInStroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5408
isPointInStroke(x, y)
isPointInStroke(x, y): boolean
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInStroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1524
isPointInStroke(path, x, y)
isPointInStroke(
path,
x,
y): boolean
Parameters
Parameter | Type |
---|---|
path | Path2D |
x | number |
y | number |
Returns
boolean
Inherited from
CanvasRenderingContext2D.isPointInStroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1525
lineTo()
lineTo(x, y)
lineTo(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.lineTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5485
lineTo(x, y)
lineTo(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.lineTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1602
measureText()
measureText(text)
measureText(text): TextMetrics
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
Returns
TextMetrics
Inherited from
CanvasRenderingContext2D.measureText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5582
measureText(text)
measureText(text): TextMetrics
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
Returns
TextMetrics
Inherited from
CanvasRenderingContext2D.measureText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1682
moveTo()
moveTo(x, y)
moveTo(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.moveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5487
moveTo(x, y)
moveTo(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.moveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1604
putImageData()
putImageData(imagedata, dx, dy)
putImageData(
imagedata,
dx,
dy): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
dx | number |
dy | number |
Returns
void
Inherited from
CanvasRenderingContext2D.putImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5462
putImageData(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight)
putImageData(
imagedata,
dx,
dy,
dirtyX,
dirtyY,
dirtyWidth,
dirtyHeight): void
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
dx | number |
dy | number |
dirtyX | number |
dirtyY | number |
dirtyWidth | number |
dirtyHeight | number |
Returns
void
Inherited from
CanvasRenderingContext2D.putImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5463
putImageData(imagedata, dx, dy)
putImageData(
imagedata,
dx,
dy): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
dx | number |
dy | number |
Returns
void
Inherited from
CanvasRenderingContext2D.putImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1579
putImageData(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight)
putImageData(
imagedata,
dx,
dy,
dirtyX,
dirtyY,
dirtyWidth,
dirtyHeight): void
Parameters
Parameter | Type |
---|---|
imagedata | ImageData |
dx | number |
dy | number |
dirtyX | number |
dirtyY | number |
dirtyWidth | number |
dirtyHeight | number |
Returns
void
Inherited from
CanvasRenderingContext2D.putImageData
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1580
quadraticCurveTo()
quadraticCurveTo(cpx, cpy, x, y)
quadraticCurveTo(
cpx,
cpy,
x,
y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
cpx | number |
cpy | number |
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.quadraticCurveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5489
quadraticCurveTo(cpx, cpy, x, y)
quadraticCurveTo(
cpx,
cpy,
x,
y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
cpx | number |
cpy | number |
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.quadraticCurveTo
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1606
rect()
rect(x, y, w, h)
rect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.rect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5491
rect(x, y, w, h)
rect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.rect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1608
reset()
reset(undefined)
reset(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.reset
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5571
reset(undefined)
reset(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.reset
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1671
resetTransform()
resetTransform(undefined)
resetTransform(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.resetTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5614
resetTransform(undefined)
resetTransform(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.resetTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1714
restore()
restore(undefined)
restore(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.restore
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5573
restore(undefined)
restore(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.restore
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1673
rotate()
rotate(angle)
rotate(angle): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
angle | number |
Returns
void
Inherited from
CanvasRenderingContext2D.rotate
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5616
rotate(angle)
rotate(angle): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
angle | number |
Returns
void
Inherited from
CanvasRenderingContext2D.rotate
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1716
roundRect()
roundRect(x, y, w, h, radii)
roundRect(
x,
y,
w,
h,
radii?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
radii ? | number | DOMPointInit | (number | DOMPointInit )[] |
Returns
void
Inherited from
CanvasRenderingContext2D.roundRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5493
roundRect(x, y, w, h, radii)
roundRect(
x,
y,
w,
h,
radii?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
radii ? | number | DOMPointInit | Iterable <number | DOMPointInit > |
Returns
void
Inherited from
CanvasRenderingContext2D.roundRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.iterable.d.ts:83
roundRect(x, y, w, h, radii)
roundRect(
x,
y,
w,
h,
radii?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
radii ? | number | DOMPointInit | (number | DOMPointInit )[] |
Returns
void
Inherited from
CanvasRenderingContext2D.roundRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1610
save()
save(undefined)
save(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.save
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5575
save(undefined)
save(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.save
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1675
scale()
scale(x, y)
scale(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.scale
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5618
scale(x, y)
scale(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.scale
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1718
setLineDash()
setLineDash(segments)
setLineDash(segments): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
segments | number [] |
Returns
void
Inherited from
CanvasRenderingContext2D.setLineDash
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5510
setLineDash(segments)
setLineDash(segments): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
segments | Iterable <number > |
Returns
void
Inherited from
CanvasRenderingContext2D.setLineDash
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.iterable.d.ts:88
setLineDash(segments)
setLineDash(segments): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
segments | number [] |
Returns
void
Inherited from
CanvasRenderingContext2D.setLineDash
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1627
setTransform()
setTransform(a, b, c, d, e, f)
setTransform(
a,
b,
c,
d,
e,
f): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
a | number |
b | number |
c | number |
d | number |
e | number |
f | number |
Returns
void
Inherited from
CanvasRenderingContext2D.setTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5620
setTransform(transform)
setTransform(transform?): void
Parameters
Parameter | Type |
---|---|
transform ? | DOMMatrix2DInit |
Returns
void
Inherited from
CanvasRenderingContext2D.setTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5621
setTransform(a, b, c, d, e, f)
setTransform(
a,
b,
c,
d,
e,
f): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
a | number |
b | number |
c | number |
d | number |
e | number |
f | number |
Returns
void
Inherited from
CanvasRenderingContext2D.setTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1720
setTransform(transform)
setTransform(transform?): void
Parameters
Parameter | Type |
---|---|
transform ? | DOMMatrix2DInit |
Returns
void
Inherited from
CanvasRenderingContext2D.setTransform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1721
stroke()
stroke(undefined)
stroke(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.stroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5410
stroke(path)
stroke(path): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
Returns
void
Inherited from
CanvasRenderingContext2D.stroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5411
stroke(undefined)
stroke(): void
MDN Reference (opens in a new tab)
Returns
void
Inherited from
CanvasRenderingContext2D.stroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1527
stroke(path)
stroke(path): void
Parameters
Parameter | Type |
---|---|
path | Path2D |
Returns
void
Inherited from
CanvasRenderingContext2D.stroke
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1528
strokeRect()
strokeRect(x, y, w, h)
strokeRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.strokeRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5538
strokeRect(x, y, w, h)
strokeRect(
x,
y,
w,
h): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
w | number |
h | number |
Returns
void
Inherited from
CanvasRenderingContext2D.strokeRect
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1655
strokeText()
strokeText(text, x, y, maxWidth)
strokeText(
text,
x,
y,
maxWidth?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
x | number |
y | number |
maxWidth ? | number |
Returns
void
Inherited from
CanvasRenderingContext2D.strokeText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5584
strokeText(text, x, y, maxWidth)
strokeText(
text,
x,
y,
maxWidth?): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
text | string |
x | number |
y | number |
maxWidth ? | number |
Returns
void
Inherited from
CanvasRenderingContext2D.strokeText
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1684
transform()
transform(a, b, c, d, e, f)
transform(
a,
b,
c,
d,
e,
f): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
a | number |
b | number |
c | number |
d | number |
e | number |
f | number |
Returns
void
Inherited from
CanvasRenderingContext2D.transform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5623
transform(a, b, c, d, e, f)
transform(
a,
b,
c,
d,
e,
f): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
a | number |
b | number |
c | number |
d | number |
e | number |
f | number |
Returns
void
Inherited from
CanvasRenderingContext2D.transform
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1723
translate()
translate(x, y)
translate(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.translate
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:5625
translate(x, y)
translate(x, y): void
MDN Reference (opens in a new tab)
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
CanvasRenderingContext2D.translate
Defined in
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.webworker.d.ts:1725