Merge pull request #25852 from yoxdev/fabric-expansion

added acoords to fabric base object definition
This commit is contained in:
Benjamin Lichtman
2018-05-31 21:31:31 -07:00
committed by GitHub

View File

@@ -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 {