Re: trash bin like feature
Posted: Sun Mar 10, 2013 6:07 pm
This is a good question, Newbie, and one that calls for experimentation.
"is within" is an operator, and pertains to a point in relation to a rect
"within" is a function, and pertains to a point in relation to an object. That said, it is the rect of the object that ultimately matters, and so you might consider them very similar, likely calling the same internal code.
"intersect" pertains to object rects as a whole, where one portion of a rect may overlie any portion of another. It can be viewed as "if even one point of one object is within the rect of another object".
Craig Newman
"is within" is an operator, and pertains to a point in relation to a rect
"within" is a function, and pertains to a point in relation to an object. That said, it is the rect of the object that ultimately matters, and so you might consider them very similar, likely calling the same internal code.
"intersect" pertains to object rects as a whole, where one portion of a rect may overlie any portion of another. It can be viewed as "if even one point of one object is within the rect of another object".
Craig Newman