mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
added acoords
This commit is contained in:
Vendored
+5
@@ -2249,6 +2249,11 @@ interface IObjectOptions {
|
||||
* Not used by fabric, just for convenience
|
||||
*/
|
||||
data?: any;
|
||||
|
||||
/**
|
||||
* Describes the object's corner position in canvas object absolute properties.
|
||||
*/
|
||||
aCoords?: {bl: Point, br: Point, tl: Point, tr: Point};
|
||||
}
|
||||
export interface Object extends IObservable<Object>, IObjectOptions, IObjectAnimation<Object> { }
|
||||
export class Object {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
function sample1() {
|
||||
const canvas = new fabric.Canvas('c', {
|
||||
hoverCursor: 'pointer',
|
||||
|
||||
Reference in New Issue
Block a user