mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 12:33:38 +08:00
Merge pull request #25852 from yoxdev/fabric-expansion
added acoords to fabric base object definition
This commit is contained in:
5
types/fabric/fabric-impl.d.ts
vendored
5
types/fabric/fabric-impl.d.ts
vendored
@@ -2254,6 +2254,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 {
|
||||
|
||||
Reference in New Issue
Block a user