1
0
Fork 0
freesewing/markdown/dev/reference/api/path
joostdecock eded9e9d3a fix(core): Handle path splits on start or end points
In some edge cases, like when splitting a path on or very close to its
start or end point, `Path.split()` will return an array in which one of
the elements is not a Path object, but rather an empty array.

That is rather combersome to check for, so this changes that behaviour
and will return null for such cases.

I've also updated the documentation to clarify this behaviour.

Fixes #6816

This also fixes a bug when a path was being split on its end point.
2024-06-12 13:24:42 +02: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(markdown): Change optional parameter doc format from man page to JavaScript 2024-02-11 06:48:51 -08:00
angleat Add documentation and rename method 2024-04-18 10:53:30 +02: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(markdown): Change optional parameter doc format from man page to JavaScript 2024-02-11 06:48:51 -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 fix(markdown): Typo in Path.combine() doc 2024-02-11 09:39:48 -08: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 chore(markdown): Revert Join doc to develop version 2024-02-11 06:52:59 -08: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
rotate add(core): Add Path.rotate(...) function analogue to Point.rotate(...) 2024-04-05 14:45:20 +02: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(markdown): Change optional parameter doc format from man page to JavaScript 2024-02-11 06:48:51 -08:00
shiftalong fix(markdown): Change optional parameter doc format from man page to JavaScript 2024-02-11 06:48:51 -08:00
shiftfractionalong fix(markdown): Change optional parameter doc format from man page to JavaScript 2024-02-11 06:48:51 -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(core): Handle path splits on start or end points 2024-06-12 13:24:42 +02: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): Typo in Part and Path docs 2024-02-11 06:07:51 -08:00