dimensions An array that contains the dimensions of the shape structure. Declarationvar dimensions: [Int] { get }