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

# 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](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor.md) or [color reference](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference.md) 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](https://docs.xbox.com/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad.md)\
[Joystick](https://docs.xbox.com/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)\
[Throttle](https://docs.xbox.com/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md)

## See also

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


## Related topics

- [ThrottleAxis](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-throttle-axis.md)
- [Joystick Outline and Directional Indicator](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-joystick-outline.md)
- [Knob](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-knob.md)
- [High contrast mode for Touch Adaptation Layouts](https://docs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-high-contrast-mode.md)
- [Color Palette](https://docs.xbox.com/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette.md)
