> ## 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.

# 搖桿外框與方向指示器

> 搖桿外框與方向指示器

# 搖桿外框與方向指示器

搖桿控制項外環的樣式屬性。

## 屬性

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

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

[`indicator`](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-color) - *object*，*選用*。一個[色彩](/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-color)物件，其中包含玩家與 `joystick` 控制項互動時所顯示之方向指示器的樣式指示。

## 範例

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

## 備註

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

## 相關控制項

[搖桿](/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)

## 另請參閱

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


## Related topics

- [Touch Adaptation Kit](/zh-TW/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [觸控調整套件 (TAK) 參考](/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [XAG 107:輸入](/zh-TW/build/game-principles/accessibility/xag-deep-dives/xag-107-input.md)
- [XAG 102：對比](/zh-TW/build/game-principles/accessibility/xag-deep-dives/xag-102-contrast.md)
- [XAG 103:視覺與音訊提示的額外管道](/zh-TW/build/game-principles/accessibility/xag-deep-dives/xag-103-additional-cues.md)
