Improve documentation.

This commit is contained in:
Jürg Lehni 2013-10-29 19:25:10 +01:00
parent 7f8d9d9e90
commit b86b66d43d
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -177,6 +177,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
// DOCS: Project#options
/**
* <b>options.handleSize:</b>
*
* <b>options.hitTolerance:</b>
*
* @name Project#options