P
PJ6
I've Googled this but come up short... I have a non-rectangular region that
contains a moveable rectangle. I want to restrict the rectangle's movement
to have it always fully contained in this region. Would seem pretty simple
to do this with a region's IsVisible function, but no, IsVisible returns
true if any portion of the rectangle is visible.
I know I'll eventually get this just by messing around but don't want to
unnecesssarily re-invent the wheel... is there something built into the
Framework that I can use?
Paul
contains a moveable rectangle. I want to restrict the rectangle's movement
to have it always fully contained in this region. Would seem pretty simple
to do this with a region's IsVisible function, but no, IsVisible returns
true if any portion of the rectangle is visible.
I know I'll eventually get this just by messing around but don't want to
unnecesssarily re-invent the wheel... is there something built into the
Framework that I can use?
Paul