In order to generate a cylinder shape we can use a rectangle or square shape object or thing. When a rectangle or square shape paper or material is rolled horizontally it will get a open cylindrical shape. Therefore the shape of the flag can be square or rectangular as usual.