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

# 筆觸

> 筆觸

# 筆觸

所參考物件之外框的樣式屬性。

## 屬性

`type` - *string*。要繪製的筆觸類型。唯一可用的值為 "solid"

`color` - *string*。要使用的[十六進位色彩](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor.md)或[色彩參考](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference.md)。

`opacity` - *number*。應套用的不透明度。預設為 1.0。

## 範例

```JSON theme={null}
{
    "type": "solid",
    "color": "#0e7a0d",
    "opacity": 1.0
}
```

## 備註

筆觸會套用至所參考物件的外框。

## 相關控制項

[方向鍵](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad.md)\
[搖桿](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-throttle.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

- [ThrottleAxis](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-throttle-axis.md)
- [旋鈕](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-knob.md)
- [搖桿外框與方向指示器](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/types/game-streaming-touch-joystick-outline.md)
- [觸控調整配置的高對比模式](https://docs.xbox.com/zh-TW/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-high-contrast-mode.md)
- [色彩調色盤](https://docs.xbox.com/zh-TW/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette.md)
