1
0
Fork 0

replaced the url to Point object to relative path

This commit is contained in:
Yash-Ambekar 2023-10-28 13:34:40 +05:30
parent 7ed4d4e249
commit 9545062cab

View file

@ -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.