<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TouchController",
  "identifier" : "/documentation/TouchController/TCControlContents/ButtonShape",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Touch Controller",
      "TouchController"
    ],
    "preciseIdentifier" : "c:@E@TCControlContentsButtonShape"
  },
  "title" : "TCControlContents.ButtonShape"
}
-->

# TCControlContents.ButtonShape

Defines the visual shape of a button.

```
enum ButtonShape
```

## Topics

### Shapes

[`case circle`](/documentation/TouchController/TCControlContents/ButtonShape/circle)

A circular button shape.

[`case rect`](/documentation/TouchController/TCControlContents/ButtonShape/rect)

A rectangular button shape.

### Creating a button shape

[`init?(rawValue: Int)`](/documentation/TouchController/TCControlContents/ButtonShape/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

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)