Commit Graph

35 Commits

Author SHA1 Message Date
Eric Rowell
2df46b4ace striped out br tags from the docs 2014-04-03 20:17:09 -07:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
Eric Rowell
f1b1c58166 all methods are now copied to Collection prototype so that you don't have to use the each() method all the time 2014-01-19 21:35:28 -08:00
Eric Rowell
7e2c6c97f8 changed drawFunc to sceneFunc and drawHitFunc to hitFunc 2014-01-04 23:34:01 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
ericdrowell
85db781630 deprecated the get() method and added find(). the change is backwards compatible 2013-09-20 14:08:51 -07:00
Eric Rowell
9141953569 migrated more plugin tests, and continued working on context tracer 2013-09-07 20:55:03 -07:00
Eric Rowell
c802935208 changed fillStroke() to fillStrokeShape() for consistency 2013-09-02 11:09:30 -07:00
Eric Rowell
3ba89d36e7 introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing 2013-08-31 21:49:18 -07:00
Eric Rowell
64d6c79a6a moved factory logic out of Node.js to Factory.js 2013-08-10 21:11:34 -07:00
Eric Rowell
57a9313a7b all kinetic specific listeners now have the kinetic namespace. off no longer removes listeners with a kinetic namespace, unless you force remove it via .kinetic 2013-07-24 22:56:21 -07:00
Eric Rowell
1fc57bed4c removed createAttrs method and cleaned up init logic 2013-07-22 22:05:21 -07:00
Eric Rowell
37a15817b5 removed setDrawFuncs dependency from leaf node classes. It's handled in Shape now 2013-07-22 21:49:30 -07:00
Eric Rowell
9324c366ea standardized init method names with underscores 2013-07-22 21:41:41 -07:00
ippo615
1d375fb711 Fixed JS Hint errors 2013-07-11 19:47:33 -04:00
Eric Rowell
c0c5868f31 updated Label docs. removed old integration test files 2013-06-08 16:11:31 -07:00
Eric Rowell
5d1a78589a updated class config param doc include replacements with grunt 2013-06-01 10:27:44 -07:00
Eric Rowell
2f43f26418 fixed Label regression 2013-05-21 00:13:32 -07:00
Eric Rowell
4ef1a82bc8 rewrote Label API. Group plugins now require that children are added to the base class 2013-05-20 21:58:57 -07:00
Eric Rowell
ae326a9c89 label offsets, serialization, and deserialization now work. fixes #406 2013-05-20 09:42:16 -07:00
Eric Rowell
35b1f61bda tied className into toJSON and create. deprecated shapeType property and getShapeType method 2013-05-19 21:48:48 -07:00
Eric Rowell
056346c14d even more documentation 2013-05-18 22:30:57 -07:00
Eric Rowell
47364c63cd deprecated getNodeType(), added className property to label, and added lots of Node doc examples 2013-05-17 11:46:06 -07:00
Eric Rowell
70f5c405a9 finished the major doc updates 2013-05-16 00:28:49 -07:00
Eric Rowell
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
37e49085eb fixed typo in label docs 2013-05-07 10:24:57 -07:00
Eric Rowell
58b081ef12 fixed a couple bugs introduced with transform matrix caching. Cleaned up addPointGetterSetter API. reorganized dynamic getter setter comments so that it's easier to keep track of them 2013-05-02 10:22:21 -07:00
Eric Rowell
4610918f07 updated Label docs 2013-04-06 22:06:11 -07:00
Eric Rowell
5192ccd954 after some more thought, I've decided to remove the Plugins namespace, but keep the plugins directory. I don't want 3rd parties putting some things in the Kinetic namespace, while others put things in the Plugin space. I really don't see a real need for the namespacing. For organizational purposes, the plugins directory still makes sense, however. 2013-03-24 20:42:27 -07:00
Eric Rowell
4036aa5fc7 label offset is now adjusted whenever the text is updated 2013-03-17 22:01:52 -07:00
Eric Rowell
e43c2fbeb4 fixed logic in Text that was accessing padding attr directly without using the getter 2013-03-17 21:16:08 -07:00
Eric Rowell
e0e390f760 added getWidth() and getHeight() methods to Label 2013-03-17 17:56:39 -07:00
Eric Rowell
a1f934d26a changed label rect drawing from Polygon to Shape to support rounded corners soon. Also wrapped the text and rect inside of an inner group so that the label can be positioned based on the pointer tip 2013-03-17 17:20:06 -07:00
Eric Rowell
bb57810c9a added arrow support for new label plugin 2013-03-16 00:33:56 -07:00
Eric Rowell
8e17729cea first pass of new Label plugin 2013-03-15 23:35:40 -07:00