> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 旋鈕

> 旋鈕

# 旋鈕

玩家可與之互動、類似按鈕之元件的樣式屬性。

## 屬性

`background` - *object*，*選用*。可以是[色彩](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-color)或[影像資產](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-asset)。

`faceImage` - *object*，*選用*。可以是[圖示](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-icon)或[影像資產](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-asset)。

`opacity` - *number*，*選用*。要套用至元件的不透明度。除了 `disabled` 以外的所有狀態預設為 1.0。

[`stroke`](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-stroke) - *object*，*選用*。用於元件外框的[筆觸](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-stroke)樣式指示。

## 範例

```JSON theme={null}
{
    "knob": {
        "background" : {
            "type": "color",
            "value":  "#107C10"
        },
        "faceImage" : {
            "type": "icon",
            "value": "run"
        }
    },
}
```

## 備註

`knob` 是較複雜控制項 (例如[搖桿](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)、
[節流閥](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)) 的元件，
玩家可與之互動。

`knob` 的預設視覺樣式依控制項而有所不同。

## 相關控制項

[搖桿](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[節流閥](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)

## 另請參閱

[Touch Adaptation Kit 參考](/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview)
