Update image draw object interface
This commit is contained in:
parent
5d22fefef2
commit
4e7f31e4a0
4 changed files with 8 additions and 8 deletions
|
|
@ -47,7 +47,7 @@ export interface IEllipseDrawObject extends IBaseDrawObject {
|
|||
|
||||
export interface IImageDrawObject extends IBaseDrawObject {
|
||||
readonly type: "image";
|
||||
source: HTMLImageElement;
|
||||
source: HTMLImageElement | ImageBitmap;
|
||||
stroke: IStroke;
|
||||
rectangle: IRectangle;
|
||||
fill: Fill;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gxc-solutions/renderer-base",
|
||||
"version": "0.0.9",
|
||||
"version": "0.0.10",
|
||||
"main": "index.js",
|
||||
"author": "GXC Solutions",
|
||||
"publishConfig": {
|
||||
|
|
@ -8,6 +8,6 @@
|
|||
"registry": "https://npm.gxc-solutions.ru"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@gxc-solutions/math": "^0.0.1"
|
||||
"@gxc-solutions/math": "^0.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -9,7 +9,7 @@
|
|||
"version": "0.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@gxc-solutions/math": "^0.0.1"
|
||||
"@gxc-solutions/math": "^0.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.4",
|
||||
|
|
@ -208,9 +208,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@gxc-solutions/math": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.1.tgz",
|
||||
"integrity": "sha512-m6lxTkjXkyaUoI3+cJKpgt/AQlyApLSJ2p9D2EJ9+XzHCSjOWs29GzczPLgopYdLEWYN/YPr77V4CScGpR7qxw=="
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.2.tgz",
|
||||
"integrity": "sha512-R6zYvbspis+XoHZ7lwyVLAUGZkJwivbeo94VtN7cSZzOA86AgVev+UQeHt9S1Ua4d1FwgxYVasck1/l5WXR7CQ=="
|
||||
},
|
||||
"node_modules/@humanfs/core": {
|
||||
"version": "0.19.1",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"license": "ISC",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"@gxc-solutions/math": "^0.0.1"
|
||||
"@gxc-solutions/math": "^0.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue