1
0
Fork 0
freesewing/markdown/dev/reference/api/path
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
..
_curve fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
addclass fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
addtext fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
aspathstring fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
asrenderprops fix(markdown) Fix typos 2024-01-21 11:16:40 -08:00
attr fix(docs): Change examples to actually use the documented method 2022-12-30 07:38:49 -08:00
bbox chore(docs): Updated Path api docs for v3 2022-09-27 18:24:35 +02:00
clean fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
clone fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
close fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
combine feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
curve fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
curve_ fix(docs): Correct spelling of Bezier to Bézier with accented "e" 2022-12-23 21:56:40 -08:00
divide fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
edge fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
end fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
hide fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
insop fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
intersects fix(docs): Add blank lines at start and end of Warning component 2023-04-05 15:02:57 -07:00
intersectsx fix(docs): Add blank lines at start and end of Warning component 2023-04-05 15:02:57 -07:00
intersectsy fix(docs): Add blank lines at start and end of Warning component 2023-04-05 15:02:57 -07:00
join feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
length feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
line fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
move fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
noop fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
offset fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
reverse fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
roughlength fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
setclass Replaced path.addClass(...) with path.setClass(...) in the example. 2023-12-08 13:28:42 -05:00
sethidden fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
settext fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
shiftalong fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
shiftfractionalong fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
smurve fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
smurve_ fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
split fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
start fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
translate fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
trim fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
unhide fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
en.md fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00