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

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](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor.md) ou la [référence de couleur](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-colorreference.md) à 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](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad.md)\
[Joystick](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)\
[Throttle](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md)

## Voir aussi

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


## Related topics

- [ThrottleAxis](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-throttle-axis.md)
- [Contour du joystick et indicateur directionnel](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-joystick-outline.md)
- [Bouton rotatif (knob)](https://docs.xbox.com/fr-CA/reference/system/touchadaptationkit/types/game-streaming-touch-knob.md)
- [Directive PAGE 104 - Traiteur](https://docs.xbox.com/fr-CA/build/game-principles/accessibility/page/page-104-catering.md)
- [Obtenir l'affectation de traitement](https://docs.xbox.com/fr-CA/services/playfab/api-references/rest/experimentation/experimentation/get-treatment-assignment.md)
