fix(markdown): Correct and normalize utils docs
This commit is contained in:
parent
1c38b4518b
commit
8075a4bd14
6 changed files with 19 additions and 16 deletions
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
title: getTransformedBounds
|
||||
title: utils.getTransformedBounds()
|
||||
---
|
||||
|
||||
This methods re-calculates the bounding box of an object (a stack or a part) after applying the passed-in transform(s).
|
||||
The `utils.getTransformedBounds()` function re-calculates the bounding box of an object (a stack or a part) after applying the passed-in transform(s).
|
||||
|
||||
The object passed in should have its `topLeft` and `bottomRight` properties set.
|
||||
It will return on object that with (only) the updated `topLeft` and `bottomRight` properties set.
|
||||
|
@ -10,13 +10,13 @@ It will return on object that with (only) the updated `topLeft` and `bottomRight
|
|||
## Signature
|
||||
|
||||
```js
|
||||
Object getTransformedBounds(
|
||||
Object utils.getTransformedBounds(
|
||||
Object stack,
|
||||
Array transforms
|
||||
)
|
||||
```
|
||||
|
||||
<Note compact>
|
||||
This is a low-level method to facilitate intervening in the pattern layout late in the draft process.
|
||||
This is a low-level function to facilitate intervening in the pattern layout late in the draft process.
|
||||
It is unlikely you will want to use this.
|
||||
</Note>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue