Skip to content

X and Y Negative Values #31

@cw-andrews

Description

@cw-andrews

The API supports negative values for X and Y via pre-pending the value with N

https://docs.imagekit.io/features/image-transformations/overlay#overlay-x-position-ox

However, imakekit-dotnet fails to handle this situation as all of the methods related to coordinates, such as OverlayX and OverlayY, take ints.

My suggestion would be to keep the method signatures as they are, but pre-pend the N with the absolute value of the passed int.

Regardless, it is an issue, and I just wanted to let you know (I am researching the platform for my companies needs) and don't have the time to create a pull request, etc, especially considering that I am not super familiar with the code).

Thanks!

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