Retrieve transformation info from a shape.

Could somebody explain how to use GetMatrix And TransformMatrix? I want to retrieve the size, position, rotation, mirroring state, and scaling from a shape. I thought I could use GetMatrix/Transformatrix to obtain and keep track of those elements simultaneously.

Thank you in advance