Skip to content

how to get displacement coordinates? #577

Open
@n1ebe

Description

@n1ebe

Hello, how can I get the X,Y displacement position of my subsamplingImageView, I need to cut the visible part of the image and I can't get those missing values, thank you very much.

val currentXOffset = subsamplingImageView.translationX.toInt()
val currentYOffset = subsamplingImageView.translationY.toInt()

give me 0

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions