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 {
|
export interface IImageDrawObject extends IBaseDrawObject {
|
||||||
readonly type: "image";
|
readonly type: "image";
|
||||||
source: HTMLImageElement;
|
source: HTMLImageElement | ImageBitmap;
|
||||||
stroke: IStroke;
|
stroke: IStroke;
|
||||||
rectangle: IRectangle;
|
rectangle: IRectangle;
|
||||||
fill: Fill;
|
fill: Fill;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@gxc-solutions/renderer-base",
|
"name": "@gxc-solutions/renderer-base",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "GXC Solutions",
|
"author": "GXC Solutions",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|
@ -8,6 +8,6 @@
|
||||||
"registry": "https://npm.gxc-solutions.ru"
|
"registry": "https://npm.gxc-solutions.ru"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"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",
|
"version": "0.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gxc-solutions/math": "^0.0.1"
|
"@gxc-solutions/math": "^0.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/eslintrc": "^3.3.4",
|
"@eslint/eslintrc": "^3.3.4",
|
||||||
|
|
@ -208,9 +208,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@gxc-solutions/math": {
|
"node_modules/@gxc-solutions/math": {
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.1.tgz",
|
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.2.tgz",
|
||||||
"integrity": "sha512-m6lxTkjXkyaUoI3+cJKpgt/AQlyApLSJ2p9D2EJ9+XzHCSjOWs29GzczPLgopYdLEWYN/YPr77V4CScGpR7qxw=="
|
"integrity": "sha512-R6zYvbspis+XoHZ7lwyVLAUGZkJwivbeo94VtN7cSZzOA86AgVev+UQeHt9S1Ua4d1FwgxYVasck1/l5WXR7CQ=="
|
||||||
},
|
},
|
||||||
"node_modules/@humanfs/core": {
|
"node_modules/@humanfs/core": {
|
||||||
"version": "0.19.1",
|
"version": "0.19.1",
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"description": "",
|
"description": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gxc-solutions/math": "^0.0.1"
|
"@gxc-solutions/math": "^0.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/eslintrc": "^3.3.4",
|
"@eslint/eslintrc": "^3.3.4",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue