<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/TabletopShape/rectangular(center:width:height:thickness:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit0A5ShapeV11rectangular6center5width6height9thickness2inACSo9SPPoint3Da_S3fSo12NSUnitLengthCtFZ"
  },
  "title" : "rectangular(center:width:height:thickness:in:)"
}
-->

# rectangular(center:width:height:thickness:in:)

Creates a rectangular tabletop shape with the specified center and dimensions.

```
static func rectangular(center: Point3D = .zero, width: Float, height: Float, thickness: Float, in unit: UnitLength = .meters) -> TabletopShape
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)