mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-16 04:10:58 +00:00
better jsdocs
This commit is contained in:
parent
79f8f9f019
commit
56fefbdb0d
2 changed files with 7 additions and 2 deletions
|
|
@ -441,7 +441,9 @@
|
|||
includeDefaultValues: true,
|
||||
|
||||
/**
|
||||
* Function that determines clipping of an object (context is passed as a first argument)
|
||||
* Function that determines clipping of an object (context is passed as a first argument).
|
||||
* If you are using code minification, ctx argument can be minified/manglied you should use
|
||||
* as a workaround `var ctx = arguments[0];` in the function;
|
||||
* Note that context origin is at the object's center point (not left/top corner)
|
||||
* @deprecated since 2.0.0
|
||||
* @type Function
|
||||
|
|
|
|||
|
|
@ -112,7 +112,10 @@
|
|||
|
||||
/**
|
||||
* Function that determines clipping of entire canvas area
|
||||
* Being passed context as first argument. See clipping canvas area in {@link https://github.com/kangax/fabric.js/wiki/FAQ}
|
||||
* Being passed context as first argument.
|
||||
* If you are using code minification, ctx argument can be minified/manglied you should use
|
||||
* as a workaround `var ctx = arguments[0];` in the function;
|
||||
* See clipping canvas area in {@link https://github.com/kangax/fabric.js/wiki/FAQ}
|
||||
* @deprecated since 2.0.0
|
||||
* @type Function
|
||||
* @default
|
||||
|
|
|
|||
Loading…
Reference in a new issue