diff --git a/markdown/dev/reference/api/path/addtext/en.md b/markdown/dev/reference/api/path/addtext/en.md index 28884ea8b2d..8ce9c0b7021 100644 --- a/markdown/dev/reference/api/path/addtext/en.md +++ b/markdown/dev/reference/api/path/addtext/en.md @@ -7,7 +7,7 @@ The `Path.addText()` method adds text to the path. ## Signature ```js -Path path.addText(string text[, string className]) +Path path.addText(string text, string className = '') ``` The second argument will optionally be used to set the CSS class for the text. diff --git a/markdown/dev/reference/api/path/attr/en.md b/markdown/dev/reference/api/path/attr/en.md index 5e83640fb66..81bf3182525 100644 --- a/markdown/dev/reference/api/path/attr/en.md +++ b/markdown/dev/reference/api/path/attr/en.md @@ -13,8 +13,8 @@ instead, thereby overwriting the value of the attribute. ```js Path path.attr( string name, - mixed value[, - bool overwrite = false] + mixed value, + bool overwrite = false ) ``` diff --git a/markdown/dev/reference/api/path/join/en.md b/markdown/dev/reference/api/path/join/en.md index 7c4a7d7db9d..4f5cb0fc5f5 100644 --- a/markdown/dev/reference/api/path/join/en.md +++ b/markdown/dev/reference/api/path/join/en.md @@ -12,7 +12,7 @@ If that's not what you want, you should use ## Signature ```js -Path path.join(path other[, bool closed=false]) +Path path.join(path other, bool closed = false) ``` The second argument will optionally be used to close the joined path. diff --git a/markdown/dev/reference/api/path/settext/en.md b/markdown/dev/reference/api/path/settext/en.md index 1ff8a5d6b83..9c68ebafe11 100644 --- a/markdown/dev/reference/api/path/settext/en.md +++ b/markdown/dev/reference/api/path/settext/en.md @@ -7,7 +7,7 @@ The `Path.setText()` method sets text on the path. ## Signature ```js -Path path.setText(string text[, string className]) +Path path.setText(string text, string className = '') ``` The second argument will optionally be used to set the CSS class for the text. diff --git a/markdown/dev/reference/api/path/shiftalong/en.md b/markdown/dev/reference/api/path/shiftalong/en.md index 89f0ed21d64..7d6ce5b41c8 100644 --- a/markdown/dev/reference/api/path/shiftalong/en.md +++ b/markdown/dev/reference/api/path/shiftalong/en.md @@ -8,7 +8,7 @@ along the path. ## Signature ```js -Point path.shiftAlong(float distance[, int stepsPerMm=10]) +Point path.shiftAlong(float distance, int stepsPerMm = 10) ``` The second parameter controls the precision by which the path will be _walked_. diff --git a/markdown/dev/reference/api/path/shiftfractionalong/en.md b/markdown/dev/reference/api/path/shiftfractionalong/en.md index 6bceb4f1576..98e76342981 100644 --- a/markdown/dev/reference/api/path/shiftfractionalong/en.md +++ b/markdown/dev/reference/api/path/shiftfractionalong/en.md @@ -8,7 +8,7 @@ length of the path travelled along the path. ## Signature ```js -Point path.shiftFractionAlong(float fraction[, int stepsPerMm=25]) +Point path.shiftFractionAlong(float fraction, int stepsPerMm = 25) ``` The second parameter controls the precision by which the path will be _walked_.