# StyleValues

> Container object used to animate multiple style values at once.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements.Experimental](/engine/6000.6/script-reference/unityengine/uielements/experimental.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public struct StyleValues
```

## Properties

| Property                                                                                                                                          | Description                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [backgroundColor](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/backgroundcolor.md)                             | Background color to paint in the element's box.                                                             |
| [borderBottomLeftRadius](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/borderbottomleftradius.md)               | The radius of the bottom-left corner when a rounded rectangle is drawn in the element's box.                |
| [borderBottomRightRadius](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/borderbottomrightradius.md)             | The radius of the bottom-right corner when a rounded rectangle is drawn in the element's box.               |
| [borderBottomWidth](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/borderbottomwidth.md)                         | Space reserved for the bottom edge of the border during the layout phase.                                   |
| [borderColor](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/bordercolor.md)                                     | Color of the border to paint inside the element's box.                                                      |
| [borderLeftWidth](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/borderleftwidth.md)                             | Space reserved for the left edge of the border during the layout phase.                                     |
| [borderRightWidth](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/borderrightwidth.md)                           | Space reserved for the right edge of the border during the layout phase.                                    |
| [borderTopLeftRadius](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/bordertopleftradius.md)                     | The radius of the top-left corner when a rounded rectangle is drawn in the element's box.                   |
| [borderTopRightRadius](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/bordertoprightradius.md)                   | The radius of the top-right corner when a rounded rectangle is drawn in the element's box.                  |
| [borderTopWidth](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/bordertopwidth.md)                               | Space reserved for the top edge of the border during the layout phase.                                      |
| [bottom](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/bottom.md)                                               | Bottom distance from the element's box during layout.                                                       |
| [color](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/color.md)                                                 | Color to use when drawing the text of an element.                                                           |
| [flexGrow](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/flexgrow.md)                                           | Specifies how much the item will grow relative to the rest of the flexible items inside the same container. |
| [flexShrink](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/flexshrink.md)                                       | Specifies how the item will shrink relative to the rest of the flexible items inside the same container.    |
| [height](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/height.md)                                               | Fixed height of an element for the layout.                                                                  |
| [left](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/left.md)                                                   | Left distance from the element's box during layout.                                                         |
| [marginBottom](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/marginbottom.md)                                   | Space reserved for the bottom edge of the margin during the layout phase.                                   |
| [marginLeft](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/marginleft.md)                                       | Space reserved for the left edge of the margin during the layout phase.                                     |
| [marginRight](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/marginright.md)                                     | Space reserved for the right edge of the margin during the layout phase.                                    |
| [marginTop](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/margintop.md)                                         | Space reserved for the top edge of the margin during the layout phase.                                      |
| [opacity](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/opacity.md)                                             | Specifies the transparency of an element.                                                                   |
| [paddingBottom](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/paddingbottom.md)                                 | Space reserved for the bottom edge of the padding during the layout phase.                                  |
| [paddingLeft](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/paddingleft.md)                                     | Space reserved for the left edge of the padding during the layout phase.                                    |
| [paddingRight](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/paddingright.md)                                   | Space reserved for the right edge of the padding during the layout phase.                                   |
| [paddingTop](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/paddingtop.md)                                       | Space reserved for the top edge of the padding during the layout phase.                                     |
| [right](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/right.md)                                                 | Right distance from the element's box during layout.                                                        |
| [top](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/top.md)                                                     | Top distance from the element's box during layout.                                                          |
| [unityBackgroundImageTintColor](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/unitybackgroundimagetintcolor.md) | Tinting color for the element's backgroundImage.                                                            |
| [width](/engine/6000.6/script-reference/unityengine/uielements/experimental/stylevalues/width.md)                                                 | Fixed width of an element for the layout.                                                                   |
