<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TouchController",
  "identifier" : "/documentation/TouchController/TCThrottleDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Touch Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)TCThrottleDescriptor"
  },
  "title" : "TCThrottleDescriptor"
}
-->

# TCThrottleDescriptor

A descriptor for configuring a throttle.

```
class TCThrottleDescriptor
```

## Topics

### Creating the descriptor

[`init()`](/documentation/TouchController/TCThrottleDescriptor/init())

Creates a new throttle descriptor with default values.

### Inspecting the descriptor

[`var backgroundContents: TCControlContents?`](/documentation/TouchController/TCThrottleDescriptor/backgroundContents)

The contents for the background of the throttle.

[`var baseValue: CGFloat`](/documentation/TouchController/TCThrottleDescriptor/baseValue)

The initial value of this control.

[`var highlightDuration: TimeInterval`](/documentation/TouchController/TCThrottleDescriptor/highlightDuration)

The time it takes for a highlight to fade away, in seconds.

[`var indicatorContents: TCControlContents?`](/documentation/TouchController/TCThrottleDescriptor/indicatorContents)

The contents for the indicator of the throttle.

[`var indicatorSize: CGSize`](/documentation/TouchController/TCThrottleDescriptor/indicatorSize)

The size (width, height) of the indicator itself in points.

[`var label: TCControlLabel`](/documentation/TouchController/TCThrottleDescriptor/label)

The label associated with the throttle.

[`var offset: CGPoint`](/documentation/TouchController/TCThrottleDescriptor/offset)

The control’s offset from the anchor, which determines its position.

[`var orientation: TCThrottle.Orientation`](/documentation/TouchController/TCThrottleDescriptor/orientation)

The orientation of the throttle.

[`var size: CGSize`](/documentation/TouchController/TCThrottleDescriptor/size)

The size (width, height) of the throttle in points.

[`var snapsToBaseValue: Bool`](/documentation/TouchController/TCThrottleDescriptor/snapsToBaseValue)

A Boolean value that indicates whether the control reverts to it’s base value.

[`var throttleSize: CGSize`](/documentation/TouchController/TCThrottleDescriptor/throttleSize)

The size (width, height) of the throttle itself, providing boundaries for the indicator, in points.

[`var zIndex: Int`](/documentation/TouchController/TCThrottleDescriptor/zIndex)

The z-index of the throttle. A lower z-index is drawn first.

### Accessing the anchor

[`var anchor: TCControlLayoutAnchor`](/documentation/TouchController/TCThrottleDescriptor/anchor)

The anchor point that the throttle’s offset is relative to.

[`enum TCControlLayoutAnchor`](/documentation/TouchController/TCControlLayoutAnchor)

Defines the anchor point for a control.

[`var anchorCoordinateSystem: TCControlLayoutAnchorCoordinateSystem`](/documentation/TouchController/TCThrottleDescriptor/anchorCoordinateSystem)

The coordinate system for the control’s anchor point.

[`enum TCControlLayoutAnchorCoordinateSystem`](/documentation/TouchController/TCControlLayoutAnchorCoordinateSystem)

Defines the coodinate system for an anchor point.

### Getting the collider shape

[`var colliderShape: TCColliderShape`](/documentation/TouchController/TCThrottleDescriptor/colliderShape)

The shape of collider to use for the throttle.

[`enum TCColliderShape`](/documentation/TouchController/TCColliderShape)

Defines the shape of a control collider.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)