What exactly is the rect used for?
Posted: Thu Jul 17, 2014 3:32 pm
Hi All,
Just a general query, nothing code specific but a concept to help me understand further. I notice there is a lot of reference to rect, (rectangle) when programming in LiveCode as well as other languages. What is the whole point of the rect, is it to do with screen size or the object size? When I was playing data grids, I noticed the rect used in the code. It seems like its a commonly frequently used command but I don't understand the significance, perhaps I'm just overthinking things as usual.
Sorry for the duh question, just wanted to get the term clear in my head and what it can be potentially used for (I've seen it in printing etc - so is it the viewport of an object/card etc?).
Thanks
Jalz
Just a general query, nothing code specific but a concept to help me understand further. I notice there is a lot of reference to rect, (rectangle) when programming in LiveCode as well as other languages. What is the whole point of the rect, is it to do with screen size or the object size? When I was playing data grids, I noticed the rect used in the code. It seems like its a commonly frequently used command but I don't understand the significance, perhaps I'm just overthinking things as usual.
Sorry for the duh question, just wanted to get the term clear in my head and what it can be potentially used for (I've seen it in printing etc - so is it the viewport of an object/card etc?).
Thanks
Jalz