Commit Graph

24 Commits

Author SHA1 Message Date
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