Closed danielost closed 1 year ago
originAt
Image
Method works correctly and can take Vec, Point, x and y coordinates and polar coordinates just like the originAt in Picture.
Vec
Point
Picture
Example with x, y coordinates:
val atAndOriginAt = Image .circle(100) .at(25, 25) .debug .beside(Image.circle(100).originAt(25, 25).debug)
Output:
I've also updated the docs.
👍
Added
originAt
support toImage
(Issue #122)Method works correctly and can take
Vec
,Point
, x and y coordinates and polar coordinates just like theoriginAt
inPicture
.Example with x, y coordinates:
Output:![image](https://user-images.githubusercontent.com/72448226/227718743-e360a557-b75a-47b6-816a-84db2262319c.png)
I've also updated the docs.