Commit graph

1070 commits

Author SHA1 Message Date
Jonathan Puckey
987ac5b8f7 Adjust PathStyle constructor documentation. 2011-05-23 03:47:39 +02:00
Jonathan Puckey
c3246a969c PathStyle documentation: rename Document to Project. 2011-05-23 03:43:49 +02:00
Jonathan Puckey
548a2983fb Add PathStyle documentation. 2011-05-23 03:41:20 +02:00
Jonathan Puckey
08ea1391b5 Add Size documentation. 2011-05-23 03:13:17 +02:00
Jonathan Puckey
539c80b028 Documentation: Point math functions. 2011-05-23 03:12:14 +02:00
Jonathan Puckey
f3e118ac9a Documentation: Point#equals 2011-05-23 03:11:53 +02:00
Jonathan Puckey
460101c55e More Point documentation. 2011-05-23 02:33:01 +02:00
Jonathan Puckey
349e4023f3 CompoundPath documentation: adjust constructor docs. 2011-05-23 01:53:57 +02:00
Jonathan Puckey
ae6606e11c Add CompoundPath docs. 2011-05-23 01:49:01 +02:00
Jonathan Puckey
7ffd8445b7 Add Rectangle documentation. 2011-05-23 01:36:16 +02:00
Jonathan Puckey
021c23a84c Move Point#x and Point#y docs outside of the constructor. 2011-05-23 01:34:30 +02:00
Jonathan Puckey
41c47449c1 Make Matrix docs jsdoc compatible. 2011-05-23 00:54:27 +02:00
Jonathan Puckey
b366829cef Improve Point docs. 2011-05-23 00:50:56 +02:00
Jonathan Puckey
06a6d5cc70 Add documentation to Segment. 2011-05-23 00:42:22 +02:00
Jonathan Puckey
5cea863ccb Add documentation to Path. 2011-05-23 00:26:08 +02:00
Jonathan Puckey
8522a4485e Add documentation for Item. 2011-05-22 23:39:54 +02:00
Jonathan Puckey
85d4af5154 Point documentation: add types to bean properties. 2011-05-22 22:55:34 +02:00
Jonathan Puckey
ef184db13a Point: {Boolean} -> {boolean} and {Number} -> {number} 2011-05-22 18:57:10 +02:00
Jonathan Puckey
6a9124dd9a Make Point documentation jsdoc compatible. 2011-05-22 18:47:20 +02:00
Jonathan Puckey
1a8e81bc22 Project#selectAll: remove todo. 2011-05-21 21:41:10 +02:00
Jonathan Puckey
469f72d36f Remove todo. 2011-05-21 21:39:27 +02:00
Jonathan Puckey
08f3ac197b Symbol#setDefinition: fix accidental beans access and add comment. 2011-05-21 21:33:43 +02:00
Jonathan Puckey
2f7a98f7d6 Have Symbol#setDefinition deselect the passed item. 2011-05-21 21:32:26 +02:00
Jonathan Puckey
7cdacc5536 Optimize Segment#initialize for minification. 2011-05-21 19:21:13 +02:00
Jonathan Puckey
572b62590e Fix Raster#clone. 2011-05-21 18:02:09 +02:00
Jonathan Puckey
f2e01a8837 Color: Rename variable name due to conflict. 2011-05-21 17:56:54 +02:00
Jonathan Puckey
81558cb54f Avoid double lookup of component key. 2011-05-21 17:49:54 +02:00
Jonathan Puckey
f3deed81cd Optimize Color#initialize for minifying. 2011-05-21 17:40:29 +02:00
Jonathan Puckey
f83d16906c Clone the color when calling Color#convert with the same color type. 2011-05-21 17:37:36 +02:00
Jonathan Puckey
e5034a5a76 Color#clone: don't initialize when calling 'new this.constructor'. 2011-05-21 17:35:37 +02:00
Jonathan Puckey
024e8eb19b Fix Color cloning by adding clone function and using it in Color#initialize. 2011-05-21 17:13:25 +02:00
Jürg Lehni
816424a9c5 Merge remote-tracking branch 'origin/master'
Conflicts:
	test/lib/helpers.js
2011-05-21 14:41:08 +01:00
Jürg Lehni
b3281806a3 No need to check if _style is defined now since even Layer (ineriting from Group) now has a style. 2011-05-21 14:29:00 +01:00
Jürg Lehni
a51957bf64 Change PathStyle to clone values in setters if they provide a clone function. This requires also using equals() wherevere they are checked to be the same or different. 2011-05-21 14:28:08 +01:00
Jürg Lehni
2b5d648e96 Change SegmentPoint.create() to copy over selected state from a provided other point or object. 2011-05-21 14:27:29 +01:00
Jonathan Puckey
73a2f0f256 Implement Raster#clone. 2011-05-21 12:50:02 +02:00
Jonathan Puckey
46b1311260 Gradient#equals: also check gradient type. 2011-05-21 12:06:37 +02:00
Jonathan Puckey
d8b73f3671 Fix GradientColor#clone(). 2011-05-21 12:06:01 +02:00
Jürg Lehni
b461368b18 Found a clean way for Layer#initialize() to call this.base() too, without implicitely calling paper.project.activeLayer.appendTop. 2011-05-21 01:05:22 +01:00
Jürg Lehni
9f1172f24a Merge remote-tracking branch 'origin/master' 2011-05-21 00:59:19 +01:00
Jürg Lehni
f6e827cfd1 Allow Color#alpha to be set to null. 2011-05-21 00:41:04 +01:00
Jürg Lehni
7e7944e6f4 Fix recently introduced error in Color, by setting internal properties directly. 2011-05-21 00:40:20 +01:00
Jonathan Puckey
8a1b1041cd Make PointText#matrix 'private' by renaming to _matrix. 2011-05-20 22:03:16 +02:00
Jonathan Puckey
f676cc026f Add TextItem#_clone to copy over characterStyle and paragraphStyle. 2011-05-20 21:33:25 +02:00
Jonathan Puckey
2c94b4270a Fix ParagraphStyle.create(item). 2011-05-20 21:29:47 +02:00
Jonathan Puckey
fc3833f150 Fix PlacedSymbol#clone(). 2011-05-20 19:41:53 +02:00
Jonathan Puckey
64a142436b Tests: add item cloning tests. 2011-05-20 19:40:07 +02:00
Jonathan Puckey
013fe56ea4 Item#_clone: check if the item has a _pathStyle property before copying it. 2011-05-20 19:35:26 +02:00
Jürg Lehni
84b1d865c1 Remove unused variable. 2011-05-20 14:08:04 +01:00
Jürg Lehni
be63d2cf07 Remove empty line. 2011-05-20 14:04:35 +01:00