Eric Rowell
|
e22f5c4bcf
|
added dynamic color component setters, and also added more unit tests
|
2013-05-03 21:13:26 -07:00 |
|
Eric Rowell
|
790b45ec87
|
added new get*RGB(), get*R(), get*G(), and get*B() methods for fill, stroke, and shadowColor. Also added new Kinetic.Type.getRGB() utility
|
2013-04-29 23:12:28 -07:00 |
|
Eric Rowell
|
d57842126a
|
fixes #353
|
2013-04-04 23:17:20 -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
|
46c7b89e06
|
created new test method, testDataUrl, which makes it super easy to identify data url comparison failures that resulted from Chrome upgrades. Begain integrating. fixed all synchronous unit test data url comparison failures
|
2013-03-24 14:12:00 -07:00 |
|
Eric Rowell
|
69f9374c8e
|
first pass at removing setDefaultAttrs logic to speed up node instantation performance
|
2013-03-15 08:33:05 -07:00 |
|
Eric Rowell
|
5c590bb88f
|
moved TextPath, RegularPolygon, and Star shapes to the plugins directory. updated all tests
|
2013-03-13 22:24:55 -07:00 |
|
Eric Rowell
|
012e495a69
|
new strokeScaleEnabled property which enables you to configure if the stroke style of a shape should scale or not as the shape itself scales, or as its ancestors scale
|
2013-02-21 09:14:44 -08:00 |
|
Eric Rowell
|
4d420efabd
|
Converted test failures to warnings where appropriate
|
2013-02-15 14:44:18 -08:00 |
|
Eric Rowell
|
322e88d454
|
new fillPriority attr which enables you to easily toggle between different fill types without having to null out fill attrs and reset other fill attrs
|
2013-01-30 09:50:36 -08:00 |
|
Eric Rowell
|
624ec25c29
|
added enabler and disabler functions to toggle shape attrs that are either on or off, such as fill, stroke, shadow, and dashArray. Also fixed problem with shadows not being applied to non color filled shapes
|
2013-01-23 23:08:01 -08:00 |
|
Eric Rowell
|
66a7e2ac39
|
layer.toDataURL() now directly returns layer canvas data url if position and size are not specificed. updated unit tests and docs
|
2013-01-02 22:02:00 -08:00 |
|
Eric Rowell
|
a53db90d0a
|
flattened fill attr, created new Node getter and setter generators that handle type conversions for points, sizes, and rotations
|
2013-01-01 23:54:02 -08:00 |
|
Eric Rowell
|
7cb4c4269f
|
huge changes to Text shape. Skinnied it up by removing rectangle rendering component. textFill is now fill, textStroke is now stroke, textShadow is now shadow, and textStrokeWidth is now strokeWidth
|
2012-12-31 12:45:32 -08:00 |
|
Eric Rowell
|
291583148b
|
moved all rendering logic into the Canvas renderer modules. Shape draw funcs are now passed a renderer object, not a canvas context. The context is accessible via canvas.getContext()
|
2012-12-09 09:52:33 -08:00 |
|
Eric Rowell
|
c316edb418
|
added transform property normalization in setFill() method and also added fill transform unit tests
|
2012-12-08 09:26:16 -08:00 |
|
Eric Rowell
|
01c5f4f7ca
|
fill patterns can now be translated, rotated, scaled, and offset like nodes
|
2012-12-07 23:25:33 -08:00 |
|
Eric Rowell
|
94c3c913cb
|
cleaned up unit test data urls. All unit tests now pass with no warnings
|
2012-11-24 22:48:23 -08:00 |
|
Eric Rowell
|
318d03feb7
|
finished up new Scene and Hit Renderers. added new textShadow attrs for more flexibility. Added new fillStroke() method which encapsulates shadow application logic
|
2012-11-23 14:54:32 -08:00 |
|
Eric Rowell
|
144e95ad42
|
preparation work for new Renderer inheritance pattern
|
2012-11-20 23:03:24 -08:00 |
|
Eric Rowell
|
a5e23c426d
|
restructured unit tests and created a unit test build target which concatenates source test files
|
2012-11-13 21:37:28 -08:00 |
|