1
0
Fork 0
freesewing/markdown/dev/reference/api
joostdecock a30b08371c feat(core): Added Path.combine and related changes, closes #5976
The discussion in #5976 is whether `Path.join()` should use a line
segment to close any gaps in the path caused by move operations, or by
differences in the end and start points of paths being joined.

The answer is yes, that is the intended behaviour, but people who read
_join_ might expect differently.

So I have made a few changes to clarify this:

- The new `Path.combine()` method combines multiple path instances into
  a single instance without making any changes to the drawing operations
- Since `Path.combine()` is variadic, I have also updated `Path.join()`
  to be variadic too, since that is more consistent.
- The old way of calling `Path.join(path, bool)` is deprecated and will
  log a warning. Calling `Path.join()` this way will be removed in v4.
- Related to this change is how `Path.length()` should behave when there
  are gaps in the path. Currently, it skips those. So I've added a
  parameter that when set to `true` will include them.
- Added documentation for `Path.combine()`
- Updated documentation for `Path.join()`
- Updated documentation for `Path.length()`
2024-02-10 15:40:41 +01:00
..
attributes fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
defs fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
design fix(docs): Correct small typos 2022-12-14 12:52:37 -08:00
part fix(markdown): Add more info to Extending Options part doc 2024-01-29 14:03:04 -08:00
path feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
pattern fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
point fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
snippet fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
stack fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
store fix(markdown) Fix typos 2024-01-21 11:16:40 -08:00
svg Merge pull request #5899 from BenJamesBen/add-svg-render-doc 2024-02-03 17:10:07 +01:00
utils fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
en.md fix(markdown): Add cbqc and goldenRatio links and info to core API 2024-01-29 15:40:33 -08:00