Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655
.
This commit is contained in:
parent
994874fa72
commit
cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions
|
@ -1,23 +1,23 @@
|
|||
***
|
||||
|
||||
## title: translate()
|
||||
|
||||
---
|
||||
title: translate()
|
||||
---
|
||||
|
||||
```js
|
||||
Point point.translate(float deltaX, float deltaY)
|
||||
```
|
||||
|
||||
Returns a point with
|
||||
[a translate transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate)
|
||||
applied.
|
||||
Returns a point with
|
||||
[a translate transform](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate)
|
||||
applied.
|
||||
|
||||
In other words, this will:
|
||||
|
||||
* Add `deltaX` to the point's X-coordinate
|
||||
* Add `deltaY` to the point's Y-coordinate
|
||||
- Add `deltaX` to the point's X-coordinate
|
||||
- Add `deltaY` to the point's Y-coordinate
|
||||
|
||||
<Example
|
||||
part="point_translate"
|
||||
caption="An example of the Point.translate() method"
|
||||
part="point_translate"
|
||||
caption="An example of the Point.translate() method"
|
||||
/>
|
||||
|
||||
```js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue