Skip to content

Understanding (left, top) coordinates after rotation #2

@tmb5cg

Description

@tmb5cg

Sorry if this is a dumb question, but I can't for the life of me understand the coordinate system after rotation. It works great without any rotation, and is standard top left (X, Y) positioning (or left, top).

Also library is great and props to you for making it.

Moving the crop size/coordinates works great via left, top, width and height. But upon rotation, I do not understand why the (left, top) coordinate changes. It doesn't appear to be the location of the top left corner, nor the center of the image.

Is there something I'm missing in the documentation or anything someone can point me to for more context? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions