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

# Trait (stroke)

> Trait (stroke)

# Trait (stroke)

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

## Propriétés

`type` - *string*. Type de trait à dessiner. La seule valeur disponible est "solid"

`color` - *string*. [Couleur hexadécimale](https://docs.xbox.com/fr/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor.md) ou [référence de couleur](https://docs.xbox.com/fr/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference.md) à utiliser.

`opacity` - *number*. 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](https://docs.xbox.com/fr/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad.md)\
[Joystick](https://docs.xbox.com/fr/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)\
[Throttle](https://docs.xbox.com/fr/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md)

## Voir aussi

[Référence du Touch Adaptation Kit](https://docs.xbox.com/fr/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)


## Related topics

- [ThrottleAxis](https://docs.xbox.com/fr/reference/system/touchadaptationkit/types/game-streaming-touch-throttle-axis.md)
- [Contour du joystick et indicateur directionnel](https://docs.xbox.com/fr/reference/system/touchadaptationkit/types/game-streaming-touch-joystick-outline.md)
- [Bouton rotatif (knob)](https://docs.xbox.com/fr/reference/system/touchadaptationkit/types/game-streaming-touch-knob.md)
- [Obtenir l'attribution de traitement](https://docs.xbox.com/fr/services/playfab/api-references/rest/experimentation/experimentation/get-treatment-assignment.md)
- [/json/users/batch/scids/{scid}/data/{pathAndFileName},json](https://docs.xbox.com/fr/reference/live/rest/uri/storage/uri-jsonusersbatchscidssciddatapathandfilenametype.md)
