I am using GetSceneItemProperties() to get data regarding the source position and size. I wanted to know the difference between 'width' and 'sourceWidth' properties.
width and height refer to the actual width and height whereas sourceWidth and sourceHeight refer to the width and height before any transformations such as when scaleX or scaleY are not 1.
Note: I'm aware that this response is quite after the original, but this is more for others who happen to arrive here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.