mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Improve documentation.
This commit is contained in:
parent
7f8d9d9e90
commit
b86b66d43d
2 changed files with 4 additions and 2 deletions
|
@ -1449,8 +1449,9 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
*
|
||||
* The optional options object allows you to control the specifics of the
|
||||
* hit test and may contain a combination of the following values:
|
||||
* <b>tolerance:</b> {@code Number} - The tolerance of the hit test in
|
||||
* points.
|
||||
* <b>options.tolerance:</b> {@code Number} - The tolerance of the hit test in
|
||||
* points, default: {@code 2}. Can also be controlled through
|
||||
* {@link Project#options}{@code .hitTolerance}.
|
||||
* <b>options.type:</b> Only hit test again a certain item
|
||||
* type: {@link PathItem}, {@link Raster}, {@link TextItem}, etc.
|
||||
* <b>options.fill:</b> {@code Boolean} - Hit test the fill of items.
|
||||
|
|
|
@ -177,6 +177,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
// DOCS: Project#options
|
||||
/**
|
||||
* <b>options.handleSize:</b>
|
||||
*
|
||||
* <b>options.hitTolerance:</b>
|
||||
*
|
||||
* @name Project#options
|
||||
|
|
Loading…
Reference in a new issue