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

# ThrottleAxis

> 節流閥軸樣式元件

# 節流閥軸樣式元件

節流閥控制項之軸的樣式屬性。

## 屬性

`opacity` - *number*，*選用*。要套用至元件的不透明度。

[`stroke`](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-stroke) - *object*，*選用*。用於[搖桿](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)可互動區域外框的[筆觸](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-stroke.md)樣式指示。

[`cap`](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-color) - *object*，*選用*。一個[色彩](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-color.md)物件，代表位於軸末端之端蓋的樣式指示。

## 範例

```JSON theme={null}
{
    "axisUp": {
        "stroke" : {
            "type": "solid",
            "color":  "#107C10"
        },
        "cap" : {
            "type": "color",
            "value": "#107C10"
        }
    },
}
```

## 備註

`outline` 是[搖桿](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)控制項的元件，代表圓形可互動區域的外框與方向指示器。

## 相關控制項

[搖桿](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)

## 另請參閱

[Touch Adaptation Kit 參考](https://docs.xbox.com/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)


## Related topics

- [Touch Adaptation Kit](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [GetExtraAxisIndexes](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
- [GameInputAxisMapping](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputaxismapping.md)
- [GetExtraAxisCount](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxiscount.md)
- [GetControllerAxisCount](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getcontrolleraxiscount.md)
