Make two functions with different functionality - one with render from left top corner, and second one - with render from center of shape. But more obvious is rendering from left top corner, and I made only this function, because variant where rendering starts from center - not needed so often