sasensi
a97382d1c5
Document tween update event as Tween#onUpdate
.
2018-12-03 09:44:37 +01:00
sasensi
6d411e9b7f
Add Tween documentation
2018-11-30 15:10:31 +01:00
sasensi
f2b6e67bcb
Fix Item#tweenFrom()
documentation example.
...
Example code was not matching example title.
2018-11-30 12:07:01 +01:00
sasensi
266cf365f5
Fix Item#tween()
documentation.
2018-11-30 11:50:10 +01:00
Jürg Lehni
e52a33b9cb
Fix linting errors
2018-11-29 14:10:08 +01:00
arnoson
684f504930
Implement tweening
2018-11-29 12:04:03 +01:00
Jürg Lehni
d46b6cbef4
Fix Emitter.once()
2018-11-28 11:40:17 +01:00
Jürg Lehni
b1705f628b
Fix typos
2018-11-21 11:58:22 +01:00
sasensi
a4a2fb7eef
Fix various documentation problems
...
- typos in comments
- wrong or missing types
- missing default values
2018-11-21 11:27:51 +01:00
sasensi
b363a5cc95
Remove Line from documentation
...
Line class was not displayed in online documentation but it was parsed
and a file was created for it because it lacked a @private JSDoc tag.
2018-11-21 11:21:51 +01:00
sasensi
dd2c15ac83
Add documentation for Color.random()
2018-11-21 11:18:02 +01:00
Takahiro Nishino
27d9903c74
Merge pull request #1609 from sapics/doc/add-param-type-in-raster-method
...
Add param type in raster method
2018-11-20 08:53:17 +09:00
sapics
531479c0a0
Add param type in raster method
...
Add param type in Raster#getPixel and Raster#setPixel
2018-11-20 08:44:38 +09:00
sasensi
ef7beacd8b
Fix several return values documentation
2018-11-17 09:37:06 +01:00
sasensi
12731f2fd1
Fix typo in Raster#getCanvas documentation
2018-11-16 18:58:18 +01:00
sapics
cfc5a912da
Replace url to avoid redirection
...
Replace http://jonathanpuckey.com to https://puckey.studio
2018-11-14 11:24:32 +01:00
sapics
d8f9eb8890
Replace http to https in comment
...
http://www.w3.org/TR/SVG/ * to https://www.w3.org/TR/SVG/ *
2018-11-14 11:24:04 +01:00
sapics
c219bb7345
Replace http to https in comment
2018-11-14 11:22:29 +01:00
Samuel Asensi
2968faad51
Fix empty image drawing ( #1605 )
...
Empty raster (for example coming from path with empty bound
rasterization, ...) drawing threw error.
This change prevent raster drawing in that case.
Closes #1320
2018-11-14 11:21:40 +01:00
DD Liu
f69748fc06
Merge pull request #23 from fsih/rasterSmoothing
...
Default raster smoothing to false for Scratch
2018-11-13 16:56:31 -05:00
sasensi
8202f78453
Fix typo in Color#convert documentation
2018-11-13 10:12:59 +01:00
sasensi
1462178799
Fix typo in Path(pathData) documentation
...
Empty parameter was resulting in `Path(pathData)` being documented as
`Path(, pathData)` with an empty first parameter.
2018-11-13 09:52:19 +01:00
sasensi
910aecb7e5
Fix CurveLocation#distance documentation
...
@see tag was pointing to an inherited method which is not compatible
with current jsdoc parser implementation.
Problem is resolved by making reference point to the parent class
owning the method.
2018-11-12 16:44:36 +01:00
sasensi
8b33eccd52
Fix beans documentation links
...
Several documentation "see also" links concerning beans were broken
because they were referenced as `ClassName#getProperty()` instead of
`ClassName#property`.
2018-11-12 16:38:34 +01:00
sasensi
0b52720bdf
Fix CompoundPath#lastSegment documentation
2018-11-12 16:27:23 +01:00
sasensi
6301aeb82d
Fix Raster#context documented type
2018-11-12 16:20:39 +01:00
sasensi
4f545d243b
Fix unexisting type Symbol
in documentation
2018-11-12 16:18:05 +01:00
sasensi
bb63310578
Fix CurveLocation#index documented type
2018-11-12 16:12:01 +01:00
sasensi
df109ab096
Fix typo in PathItem documentation
...
PathItem was misspelled PahtItem, breaking documentation links.
2018-11-12 16:08:04 +01:00
sasensi
d3f617b98e
Fix Path#divide() documentation
...
Divide operation was described as subtract & subtract instead of
subtract & intersect.
2018-11-09 14:24:04 +01:00
DD Liu
072bdc4bf8
Merge pull request #24 from fsih/fixDeploy
...
Try to deploy only once instead of three times
2018-11-07 08:20:22 -05:00
sasensi
655a4dabd0
Add tolerance parameter to test method compareCanvas()
2018-11-06 12:07:01 +01:00
sasensi
337538b21a
Remove reference to CanvasProvider in test methods
2018-11-06 11:26:12 +01:00
sasensi
2e75467fb4
Fix group selected bounds and position color
...
Group selected color was applied differently to its bounds and position
depending on whether it had children or not when selected color was set.
This resulted in an unpredictable behaviour from a user point of view.
To change that:
- When `item.setSelectedColor()` is called, value is now always stored
in `item._style._values`, independently from the fact that item has
children or not.
- An helper method `compareCanvas()` is added to the test suite to allow
comparing selection rendering of a known working case to a failing one.
Two provided callbacks are executed in a dedicated `<canvas>`/`Project`
context and both results are compared with `resemble.js`.
2018-11-06 11:26:12 +01:00
DD
c8f70742ea
Try to deploy only once instead of three times
2018-11-05 15:18:06 -05:00
DD
9d4ab1e38f
Default raster smoothing to false for Scratch
2018-11-05 15:10:56 -05:00
sasensi
c44f56d52f
Fix Rectangle documentation
...
Add missing return values in Rectangle boolean operations.
Closes #1399
2018-11-05 08:34:50 +01:00
sasensi
97b87e3836
Fix crashing build disabling node v11
...
Node v11 is temporarily disabled from ci build until a bug is fixed in
resemblejs package.
2018-11-05 08:31:25 +01:00
DD Liu
088f3f9c0c
Merge pull request #22 from fsih/measureText
...
Measure text differently when exporting for display (include overhanging text)
2018-10-29 10:29:19 -04:00
sapics
b52c22dd39
Travis: Remove node v9 and add node v10
2018-10-25 22:34:10 +02:00
DD
b1dd6fbb87
Match spacing
2018-10-25 15:31:52 -04:00
DD
f3991edc0a
Fix RTL
2018-10-25 15:15:12 -04:00
DD
bb7ebe0d24
Add linting to test
2018-10-25 14:22:55 -04:00
DD
e893cb1325
Clean up/
2018-10-25 14:19:45 -04:00
DD
893f85bdfe
rename the bound type and fix cache flags
2018-10-25 14:19:45 -04:00
DD
f85e3a7947
Use different bounds for different situations
2018-10-25 14:19:45 -04:00
DD
edfa5aedfa
Implement more accurate text measurement, but bounding boxes are totally broken and RTL needs checking
2018-10-25 14:19:45 -04:00
DD Liu
afa659639e
Merge pull request #20 from fsih/fixCanvasDep
...
Update canvas prebuilt
2018-10-24 15:14:39 -04:00
DD
00a611054e
Try removing latest node
2018-10-24 15:02:48 -04:00
DD
dd85e737f2
Update canvas prebuilt
2018-10-24 14:38:26 -04:00