Commit Graph

86 Commits

Author SHA1 Message Date
BradleyHill
d92501de7b Fabric - mostly private methods to facilitate extending functionality (#35082) 2019-04-29 10:41:15 -07:00
Aleksander Dyomin
6d0dc421d7 fabric: event mouse props (#35038) 2019-04-28 23:14:23 -07:00
codert
7cc4d1e459 fix: createClass should return value (#34904) 2019-04-22 16:56:08 -05:00
Bradley Hill
a5e6948747 fabric - 2 missing declared methods and several optional props that are referenced in fabricjs 2019-04-10 11:16:23 -05:00
Bryan Krol
db73f28f53 Added some additional type defs based on my current needs. 2019-04-08 12:24:39 -04:00
codert
4b8d9c4660 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into b_codert_fabric 2019-04-07 13:48:43 +08:00
codert
e97164cf1a fix: fill property type 2019-04-07 13:30:04 +08:00
codert
0fd67fae46 fix: addWithUpdate method 2019-04-02 11:36:40 +08:00
BradleyHill
9f7e6cb560 fabric - add more missing props to IEvent.transform (Transform should really be a strongly typed object) (#34272) 2019-03-27 13:18:35 -07:00
codert
919f6b0dc7 fabric.Image.setElement method has no callback argument (#34173)
* fix: setElement type definition

* chore: add definitions by
2019-03-25 09:26:02 -07:00
codert
d698a46d37 chore: add definitions by 2019-03-25 14:11:53 +08:00
codert
6e9e2d4eaa fix: setElement type definition 2019-03-25 13:56:37 +08:00
Bradley Hill
c2b85164cc Fabric Polyline pathOffset exposed (just like Path). It is always set in initializer. 2019-03-20 09:58:36 -05:00
BradleyHill
342c184c9b Fabricjs - cleanup Object.onDeselect (#33975)
* Fabricjs - cleanup Object.onDeselect (IText & Group don't need as extend Object). It receives an object with 2 optional params.

* Fabricjs - cleanup Object.onDeselect (IText & Group don't need as extend Object). It receives an object with 2 optional params. Strongly typed `Object`.

* Fabricjs - cleanup Object.onDeselect (IText & Group don't need as extend Object). It receives an object with 2 optional params. Might as well update the return type. Stole doc from implementation.
2019-03-18 08:40:40 -07:00
bmkrol823
531c228b22 Fabric: Additional methods defined/updated (#33875)
* Added some more definitions for use.

* Updated type for vptCoords so they are correct and also added a few more type defs
2019-03-14 11:28:54 -07:00
Bradley Hill
5f29272db1 Update fabric Text.measureLine to correct return object 2019-02-28 16:21:38 -06:00
bmkrol823
d4048cdae1
Merge branch 'master' into master 2019-02-27 20:52:57 -05:00
Bryan Krol
226f7e41ed Changed IPatternOptions.source to not be an optional parameter 2019-02-22 15:54:33 -05:00
Bryan Krol
85a2bcb512 Updated Image.fromURL to make the callback strongly typed 2019-02-22 14:16:16 -05:00
Glenn Gartner
3ab9bc2191 update README with new contributor name 2019-02-22 13:31:42 -05:00
Glenn Gartner
340001752c add oCoords to IObjectOptions, to match fabricjs API 2019-02-22 13:24:16 -05:00
Bryan Krol
7e4e9a35c4 Updated IPatternOptions to include additional source parameter that was previously missed. 2019-02-22 12:49:00 -05:00
Bryan Krol
024af7684e Updated definition for setSelectionStyles 2019-02-21 15:32:04 -05:00
Bryan Krol
a7f1c533bd Updated getSelectionStyles for options start and end index 2019-02-21 14:27:27 -05:00
Bryan Krol
a66262fee1 Updated definitions for IText 2019-02-21 12:24:43 -05:00
Bryan Krol
90341dcc16 Removed tmp file that was accidentally included in last commit 2019-02-21 11:24:07 -05:00
Bryan Krol
7c4d53a0e4 Updated Text members and methods 2019-02-21 11:22:06 -05:00
Bryan Krol
f3e3210e75 Ran linter 2019-02-20 17:17:48 -05:00
Bryan Krol
48c4b1fc13 Updated definitions for Object and IObjectOptions 2019-02-20 16:25:30 -05:00
Bryan Krol
e45bd0ef9f Removed definitions that already existed and were creating conflicts 2019-02-20 12:19:18 -05:00
Bryan Krol
9fbdc9019b Updated type defs based on findings in test that have been verified and updated tests to ensure they are up to date with the latest definitions based on fabricjs codebase 2019-02-20 12:13:45 -05:00
Bryan Krol
40d20c7022 Updated Canvas and StaticCanvas 2019-02-20 11:32:10 -05:00
Bryan Krol
acb6157ad3 Updated some of the definitions 2019-02-19 20:19:04 -05:00
Bryan Krol
222855ab26 Updated typedefs for shapes 2019-02-19 17:17:43 -05:00
Bryan Krol
4b83beec68 Started updating type defs. Currently up to Path 2019-02-18 18:09:07 -05:00
Bradley Hill
ccb7c5dc16 Fabricjs - missing color matrix definition (we only had matrix when charlie chaplin played Neo) 2019-02-07 08:49:41 -06:00
Bradley Hill
98d33a0834 Fabricjs missing pattern transform definitions (looks like DT prefers [] to Array, that's OK, i'll still play) 2019-02-05 09:15:18 -06:00
Bradley Hill
23e4b5090b Fabricjs missing pattern transform definitions 2019-02-04 14:35:18 -06:00
Bradley Hill
e2bac48047 Fabricjs - added IObjectOptions.clipPath & IObjectOptions.dirty (scratch that Object is fabric.Object in this context, fabric. is redundant) 2019-02-01 13:19:31 -06:00
Bradley Hill
a835e7eea9 Fabricjs - added IObjectOptions.clipPath & IObjectOptions.dirty (should be fabric.Object NOT Object) 2019-02-01 13:12:03 -06:00
Bradley Hill
2919edafd6 Fabricjs - added IObjectOptions.clipPath & IObjectOptions.dirty 2019-02-01 09:45:05 -06:00
QZQ
d5e51005e5
fix image filter interface lack of extends base 2019-01-24 21:22:15 +08:00
Bradley Hill
1c20b07f90 Match image filter types to latest fabric code 2019-01-08 14:26:43 -06:00
Bradley Hill
e5ca27ce79 Fabric - Cross origin is a string everywhere. Type as such so don't have to downcast as any. 2018-12-06 09:46:39 -06:00
Bradley Hill
ebb848491a fabric - update the TextBox.getSelectionStyles signature to latest fabricjs 2018-11-28 13:37:09 -06:00
Bradley Hill
834369c52b Add optional transform property to the IEvent interface. 2018-11-21 10:49:49 -06:00
Andy
141d1cc870
And tslint disables for no-angle-bracket-type-assertion (#30592) 2018-11-16 12:20:58 -08:00
Anton Halim
bfc8e1cfb0 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into fix-typo-paramter 2018-10-23 00:03:19 -07:00
Andy
d8bab0f3be
More fixes from dtslint improvements (2) (#29799) 2018-10-17 12:59:50 -07:00
Anton Halim
b0f1c3ad71 Fix typo of paramter 2018-10-14 21:55:18 -07:00