Improve docs for x/yLine and x/yLineTo (#3285)

* Improve docs for xLineTo and yLineTo

* Improve docs for xLine and yLine
This commit is contained in:
Adam Chalmers
2024-08-05 23:26:19 -05:00
committed by GitHub
parent 1c778bf373
commit d27afb8c74
6 changed files with 24 additions and 20 deletions

View File

@ -223491,7 +223491,7 @@
},
{
"name": "xLine",
"summary": "Draw a line on the x-axis.",
"summary": "Draw a line parallel to the X-axis, with the given length.",
"description": "",
"tags": [],
"args": [
@ -230125,8 +230125,8 @@
},
{
"name": "xLineTo",
"summary": "Draw a line to a point on the x-axis.",
"description": "",
"summary": "Draw a line parallel to the X axis, that ends at the given X.",
"description": "E.g. if the previous line ended at (1, 1), then xLineTo(4) draws a line from (1, 1) to (4, 1)",
"tags": [],
"args": [
{
@ -236759,7 +236759,7 @@
},
{
"name": "yLine",
"summary": "Draw a line on the y-axis.",
"summary": "Draw a line parallel to the Y-axis, with the given length.",
"description": "",
"tags": [],
"args": [
@ -243393,8 +243393,8 @@
},
{
"name": "yLineTo",
"summary": "Draw a line to a point on the y-axis.",
"description": "",
"summary": "Draw a line parallel to the Y axis, that ends at the given Y.",
"description": "E.g. if the previous line ended at (1, 1), then yLineTo(4) draws a line from (1, 1) to (1, 4)",
"tags": [],
"args": [
{

View File

@ -1,10 +1,10 @@
---
title: "xLine"
excerpt: "Draw a line on the x-axis."
excerpt: "Draw a line parallel to the X-axis, with the given length."
layout: manual
---
Draw a line on the x-axis.
Draw a line parallel to the X-axis, with the given length.

View File

@ -1,12 +1,12 @@
---
title: "xLineTo"
excerpt: "Draw a line to a point on the x-axis."
excerpt: "Draw a line parallel to the X axis, that ends at the given X."
layout: manual
---
Draw a line to a point on the x-axis.
Draw a line parallel to the X axis, that ends at the given X.
E.g. if the previous line ended at (1, 1), then xLineTo(4) draws a line from (1, 1) to (4, 1)
```js
xLineTo(to: number, sketch_group: SketchGroup, tag?: TagDeclarator) -> SketchGroup

View File

@ -1,10 +1,10 @@
---
title: "yLine"
excerpt: "Draw a line on the y-axis."
excerpt: "Draw a line parallel to the Y-axis, with the given length."
layout: manual
---
Draw a line on the y-axis.
Draw a line parallel to the Y-axis, with the given length.

View File

@ -1,12 +1,12 @@
---
title: "yLineTo"
excerpt: "Draw a line to a point on the y-axis."
excerpt: "Draw a line parallel to the Y axis, that ends at the given Y."
layout: manual
---
Draw a line to a point on the y-axis.
Draw a line parallel to the Y axis, that ends at the given Y.
E.g. if the previous line ended at (1, 1), then yLineTo(4) draws a line from (1, 1) to (1, 4)
```js
yLineTo(to: number, sketch_group: SketchGroup, tag?: TagDeclarator) -> SketchGroup