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

# Trait (stroke)

> Trait (stroke)

# Trait (stroke)

Les attributs de style du contour de l'objet référencé.

## Propriétés

`type` - *chaîne*. Le type de trait à dessiner. La seule valeur disponible est « solid »

`color` - *chaîne*. La [couleur hexadécimale](/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor) ou la [référence de couleur](/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference) à utiliser.

`opacity` - *nombre*. L'opacité à appliquer. La valeur par défaut est 1.0.

## Exemple

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

## Remarques

Le trait s'applique au contour de l'objet référencé.

## Contrôles associés

[Pavé directionnel](/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad)\
[Joystick](/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)\
[Throttle](/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle)

## Voir aussi

[Référence du Touch Adaptation Kit](/fr-CA/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview)


## Related topics

- [Outil de réinitialisation des données de joueur (XblPlayerDataReset.exe)](/fr-CA/tools/tools-services/live-player-data-reset.md)
- [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)
