Greetings,
I have a stroked square with no fill in the center of a stage. A user can mouse drag an image and scale the image up and down on the stage. Can anyone recommend a way, possibly with code example, to detect when the image has scaled down past the stroke to the inside of the rectangle. Basically I am trying to avoid whitespace in the target area.
Thanks!