Jürg Lehni
|
c945bf7908
|
Docs: Various smaller clean ups.
|
2013-10-16 14:20:13 +02:00 |
|
Jürg Lehni
|
a4535edbb9
|
Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
|
2013-06-23 20:18:32 -07:00 |
|
Jürg Lehni
|
10d5de3ed6
|
Implement a better way to name and export class constructors.
This change also simplified the way classes are exported to PaperScope objects.
|
2013-05-27 12:48:58 -07:00 |
|
Jürg Lehni
|
a48e6e5bf9
|
More work on Color refactoring.
|
2013-04-08 00:11:43 -07:00 |
|
Jürg Lehni
|
4be5d5086f
|
Introduce project.option.hitTolerance, to control precision of internal hit-tests.
|
2013-03-01 20:25:46 -08:00 |
|
Jürg Lehni
|
02ca95eb46
|
Avoid accidental global leakage.
|
2013-02-08 16:12:57 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
906faf7956
|
Improve handling of nested matrices in hit-testing.
Closes #134.
|
2012-11-23 12:41:00 -08:00 |
|
Jürg Lehni
|
30374ae3b4
|
Implement proper index independent argument list reading of basic types.
Implemented for Point, Size, Rectangle and Color.
|
2012-10-18 14:24:15 -07:00 |
|
Jürg Lehni
|
99ac617ded
|
Inject HitResults fields as enumerable, so the default #toString works, and avoid listing getColor.
|
2012-09-30 14:07:27 -07:00 |
|
Jürg Lehni
|
24f07dccec
|
Clean up some JSDoc comments.
|
2011-11-12 13:27:29 +01:00 |
|
Jonathan Puckey
|
a96a92caba
|
Add support for hit testing Raster items and getting the color of the pixel that was hit.
|
2011-11-11 15:00:53 +01:00 |
|
Jürg Lehni
|
af9df0e1b8
|
Provide point of hit handles and segments too in HitResult.
|
2011-11-11 14:47:03 +01:00 |
|
Jürg Lehni
|
1124236b8a
|
Use inject() instead of a each() loop to add values to HitResult, so getters can be defined too (required for raster hit testing).
|
2011-11-11 13:11:10 +01:00 |
|
Jürg Lehni
|
022de4d781
|
Some documentation fixes for v0.2
|
2011-08-01 14:25:46 +01:00 |
|
Jürg Lehni
|
884ea96a29
|
Docs: Link HitResult back to #hitTest() functions.
|
2011-08-01 11:47:08 +01:00 |
|
Jonathan Puckey
|
e0650cae73
|
Document HitResult, Item#hitTest(point, options) and Project#hitTest(point, options).
|
2011-07-31 22:58:51 +02:00 |
|
Jonathan Puckey
|
8e816f6bfc
|
HitResult#getOptions: only have fill / stroke / segments options set to true if no options object was provided.
|
2011-07-15 14:52:38 +02:00 |
|
Jürg Lehni
|
615a1281e3
|
Remove obsolete TODO.
|
2011-07-09 17:03:10 +02:00 |
|
Jürg Lehni
|
f958b41d90
|
Don't filter for a type by default.
|
2011-07-09 09:28:36 +02:00 |
|
Jürg Lehni
|
b5d3cf2ad0
|
Add comment about missing documentation.
|
2011-07-08 23:32:50 +02:00 |
|
Jürg Lehni
|
c033a5a7bc
|
Implement hit-test options: segments, handles and ends.
|
2011-07-08 23:26:21 +02:00 |
|
Jürg Lehni
|
9db96ae898
|
Perform point conversion along with HitResult.getOptions().
|
2011-07-08 23:25:27 +02:00 |
|
Jürg Lehni
|
dfbe3135ad
|
Remove HitResult inheritance from CurveLocation, but have a #location property pointing to it.
|
2011-07-08 22:25:42 +02:00 |
|
Jürg Lehni
|
69a7d0bfd4
|
Implement a first version of Item#hitTest(), so far working only for Path items. Work in progress.
|
2011-07-07 22:14:58 +02:00 |
|