---
title: TCControlContents.ButtonShape
framework: Touch Controller
role: symbol
role_heading: Enumeration
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tccontrolcontents/buttonshape
---

# TCControlContents.ButtonShape

Defines the visual shape of a button.

## Declaration

```swift
enum ButtonShape
```

## Topics

### Shapes

- [TCControlContents.ButtonShape.circle](touchcontroller/tccontrolcontents/buttonshape/circle.md)
- [TCControlContents.ButtonShape.rect](touchcontroller/tccontrolcontents/buttonshape/rect.md)

### Creating a button shape

- [init(rawValue:)](touchcontroller/tccontrolcontents/buttonshape/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### System content

- [TCControlContents.DpadDirection](touchcontroller/tccontrolcontents/dpaddirection.md)
- [TCControlContents.DpadElementStyle](touchcontroller/tccontrolcontents/dpadelementstyle.md)
