Adds getGraphicBounds as well, which getGraphicMidpoint uses. Accounts everything except scrollFactor
Note: I've ignored scrollFactor because we are getting the graphic's position in world space, not screen space, the "idea" is that the object physically exists in the world at its x and y regardless of scrollFactor, which only changes where we "perceive" it to be
Adds
getGraphicBounds
as well, whichgetGraphicMidpoint
uses. Accounts everything except scrollFactorNote: I've ignored
scrollFactor
because we are getting the graphic's position in world space, not screen space, the "idea" is that the object physically exists in the world at its x and y regardless ofscrollFactor
, which only changes where we "perceive" it to be