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

# Stroke

> Stroke

# Stroke

The styling attributes for outline of the object being referenced.

## Properties

`type` - *string*. The type of stroke to be drawn. Only available value is "solid"

`color` - *string*. The [hex color](/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor) or [color reference](/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference) to be used.

`opacity` - *number*. The opacity that should be applied. Defaults to 1.0.

## Sample

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

## Remarks

The stroke applies to the outline of the object that is being referenced.

## Related Controls

[Directional Pad](/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad)\
[Joystick](/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[Throttle](/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)

## See also

[Touch Adaptation Kit Reference](/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview)


## Related topics

- [High Contrast Mode](/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-high-contrast-mode.md)
- [Touch Adaptation Kit](/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [Touch Adaptation Kit (TAK) Reference](/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [XInputGetKeystroke](/reference/input/xinputongameinput/functions/xinputgetkeystroke.md)
- [Touch Adaptation Kit (TAK) 参考](/zh-CN/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
