replaced the url to Point object to relative path
This commit is contained in:
parent
7ed4d4e249
commit
9545062cab
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
title: utils.applyTransformToPoint()
|
||||
---
|
||||
|
||||
The `utils.applyTransformToPoint()` function applies a specified transformation to the point's coordinates. Returns the transformed point as a [Point](https://freesewing.dev/reference/api/point) object.
|
||||
The `utils.applyTransformToPoint()` function applies a specified transformation to the point's coordinates. Returns the transformed point as a [Point](/reference/api/point) object.
|
||||
|
||||
## Signature
|
||||
|
||||
|
@ -14,5 +14,5 @@ Point utils.applyTransformToPoint(string transform, Point A)
|
|||
|
||||
1st parameter is a SVG transform string. Eg: `scale(sfx, sfy)` where `sfx` and `sfy` are the scaling factors along the x-axis and y-axis respectively.
|
||||
|
||||
2nd parameter is the original point that is to be transformed. It is a [Point](https://freesewing.dev/reference/api/point) object.
|
||||
2nd parameter is the original point that is to be transformed. It is a [Point](/reference/api/point) object.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue