mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-06 10:10:08 +00:00
Updated type for vptCoords so they are correct and also added a few more type defs
This commit is contained in:
2
types/fabric/fabric-impl.d.ts
vendored
2
types/fabric/fabric-impl.d.ts
vendored
@@ -1038,7 +1038,7 @@ interface IStaticCanvasOptions {
|
||||
* The coordinates get updated with @method calcViewportBoundaries.
|
||||
* @memberOf fabric.StaticCanvas.prototype
|
||||
*/
|
||||
vptCoords?: {tl: number, tr: number, bl: number, br: number}
|
||||
vptCoords?: {tl: {x: number, y: number}, tr: {x: number, y: number}, bl: {x: number, y: number}, br: {x: number, y: number}}
|
||||
/**
|
||||
* Based on vptCoords and object.aCoords, skip rendering of objects that
|
||||
* are not included in current viewport.
|
||||
|
||||
Reference in New Issue
Block a user