I have the following:

I want the center rectangle to be concentric with the outer rectangle (the separation of each edge should be equal). What’s the best way to do this?

  • the16bitgamer@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’d do either 45 degree lines of equal length on 2 corners with the same length, or 2 boxes with equal lengths.

    It depends on what method would be easiest for you to implement and what your using to determine the distance between the rectangles.