public Vector2 getExtents(bool abs = false) { Vector2 extents = size * 0.5f; if (abs) { extents.Scale(AtlasSceneManager.getScreenSize()); } return(extents); }
public Vector2 getCenter(bool abs = false) { Vector2 center = position + size * 0.5f; if (abs) { center.Scale(AtlasSceneManager.getScreenSize()); } return(center); }