Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added originAt support to Image #128

Merged
merged 3 commits into from
Mar 27, 2023

Conversation

danielost
Copy link
Contributor

Added originAt support to Image (Issue #122)

Method works correctly and can take Vec, Point, x and y coordinates and polar coordinates just like the originAt in Picture.

Example with x, y coordinates:

val atAndOriginAt =
      Image
        .circle(100)
        .at(25, 25)
        .debug
        .beside(Image.circle(100).originAt(25, 25).debug)

Output:
image

I've also updated the docs.

@noelwelsh
Copy link
Contributor

👍

@noelwelsh noelwelsh merged commit 686f0cc into creativescala:main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants