# IResolvedStyle

> Style values after layout pass.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public interface IResolvedStyle
```

## Properties

| Property                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [alignContent](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/aligncontent.md)                                   | Alignment of the whole area of children on the cross axis if they span over multiple lines in this container.                                                                                                                                                                                                                              |
| [alignItems](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/alignitems.md)                                       | Alignment of children on the cross axis of this container.                                                                                                                                                                                                                                                                                 |
| [alignSelf](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/alignself.md)                                         | Similar to align-items, but only for this specific element.                                                                                                                                                                                                                                                                                |
| [animationDelay](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationdelay.md)                               | Delay before each animation begins, in seconds. Negative values start the animation partway through its first iteration. Comma-separated to match the animation list.                                                                                                                                                                      |
| [animationDirection](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationdirection.md)                       | Whether each animation plays forward, backward, or alternates direction across iterations. Comma-separated to match the animation list.                                                                                                                                                                                                    |
| [animationDuration](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationduration.md)                         | Duration of one iteration of each animation, in seconds. The default of 0 uses the clip's intrinsic length; a positive value remaps one iteration to that duration. Comma-separated to match the animation list.                                                                                                                           |
| [animationIterationCount](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationiterationcount.md)             | Number of times each animation repeats. Use 'infinite' to loop forever. The clip's own loop flag is ignored in favor of this value. Comma-separated to match the animation list.                                                                                                                                                           |
| [animationNames](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationnames.md)                               | Animations to apply with the current element as root. Comma-separated to run multiple animations at once.                                                                                                                                                                                                                                  |
| [animationPlayState](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationplaystate.md)                       | The resolved play state of the element's animation (the first entry of [\_animationPlayStates](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationplaystates.md)).                                                                                                                                             |
| [animationPlayStates](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationplaystates.md)                     | Controls whether each animation is running or paused. Comma-separated to match the animation list.                                                                                                                                                                                                                                         |
| [aspectRatio](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/aspectratio.md)                                     | Sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.                                                                                                                                                                                                            |
| [backdropFilter](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backdropfilter.md)                               | Filter effects to apply to the area behind the element.                                                                                                                                                                                                                                                                                    |
| [backgroundColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundcolor.md)                             | Background color to paint in the element's box.                                                                                                                                                                                                                                                                                            |
| [backgroundImage](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundimage.md)                             | Background image to paint in the element's box.                                                                                                                                                                                                                                                                                            |
| [backgroundPositionX](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundpositionx.md)                     | Background image x position value.                                                                                                                                                                                                                                                                                                         |
| [backgroundPositionY](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundpositiony.md)                     | Background image y position value.                                                                                                                                                                                                                                                                                                         |
| [backgroundRepeat](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundrepeat.md)                           | Background image repeat value.                                                                                                                                                                                                                                                                                                             |
| [backgroundSize](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/backgroundsize.md)                               | Background image size value. Transitions are fully supported only when using size in pixels or percentages, such as pixel-to-pixel or percentage-to-percentage transitions.                                                                                                                                                                |
| [borderBottomColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderbottomcolor.md)                         | Color of the element's bottom border.                                                                                                                                                                                                                                                                                                      |
| [borderBottomLeftRadius](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderbottomleftradius.md)               | The radius of the bottom-left corner when a rounded rectangle is drawn in the element's box.                                                                                                                                                                                                                                               |
| [borderBottomRightRadius](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderbottomrightradius.md)             | The radius of the bottom-right corner when a rounded rectangle is drawn in the element's box.                                                                                                                                                                                                                                              |
| [borderBottomWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderbottomwidth.md)                         | Space reserved for the bottom edge of the border during the layout phase.                                                                                                                                                                                                                                                                  |
| [borderLeftColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderleftcolor.md)                             | Color of the element's left border.                                                                                                                                                                                                                                                                                                        |
| [borderLeftWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderleftwidth.md)                             | Space reserved for the left edge of the border during the layout phase.                                                                                                                                                                                                                                                                    |
| [borderRightColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderrightcolor.md)                           | Color of the element's right border.                                                                                                                                                                                                                                                                                                       |
| [borderRightWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/borderrightwidth.md)                           | Space reserved for the right edge of the border during the layout phase.                                                                                                                                                                                                                                                                   |
| [borderTopColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/bordertopcolor.md)                               | Color of the element's top border.                                                                                                                                                                                                                                                                                                         |
| [borderTopLeftRadius](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/bordertopleftradius.md)                     | The radius of the top-left corner when a rounded rectangle is drawn in the element's box.                                                                                                                                                                                                                                                  |
| [borderTopRightRadius](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/bordertoprightradius.md)                   | The radius of the top-right corner when a rounded rectangle is drawn in the element's box.                                                                                                                                                                                                                                                 |
| [borderTopWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/bordertopwidth.md)                               | Space reserved for the top edge of the border during the layout phase.                                                                                                                                                                                                                                                                     |
| [bottom](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/bottom.md)                                               | Bottom distance from the element's box during layout.                                                                                                                                                                                                                                                                                      |
| [color](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/color.md)                                                 | Color to use when drawing the text of an element.                                                                                                                                                                                                                                                                                          |
| [columnGap](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/columngap.md)                                         | Horizontal space between elements.                                                                                                                                                                                                                                                                                                         |
| [display](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/display.md)                                             | Defines how an element is displayed in the layout.                                                                                                                                                                                                                                                                                         |
| [filter](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/filter.md)                                               | Filter effects to apply to the element.                                                                                                                                                                                                                                                                                                    |
| [flexBasis](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/flexbasis.md)                                         | Initial main size of a flex item, on the main flex axis. The final layout might be smaller or larger, according to the flex shrinking and growing determined by the other flex properties.                                                                                                                                                 |
| [flexDirection](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/flexdirection.md)                                 | Direction of the main axis to layout children in a container.                                                                                                                                                                                                                                                                              |
| [flexGrow](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/flexgrow.md)                                           | Specifies how the item will grow relative to the rest of the flexible items inside the same container.                                                                                                                                                                                                                                     |
| [flexShrink](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/flexshrink.md)                                       | Specifies how the item will shrink relative to the rest of the flexible items inside the same container.                                                                                                                                                                                                                                   |
| [flexWrap](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/flexwrap.md)                                           | Placement of children over multiple lines if not enough space is available in this container.                                                                                                                                                                                                                                              |
| [fontSize](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/fontsize.md)                                           | Font size to draw the element's text, specified in point size.                                                                                                                                                                                                                                                                             |
| [gridAutoFlow](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/gridautoflow.md)                                   | Controls how the auto-placement algorithm flows items into a CSS Grid container. Only takes effect when display is set to grid.                                                                                                                                                                                                            |
| [gridColumnEnd](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/gridcolumnend.md)                                 | The 1-based column line a CSS Grid item ends on, spanning from grid-column (0 = span a single track). Only takes effect when the element is a grid item.                                                                                                                                                                                   |
| [gridColumnStart](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/gridcolumnstart.md)                             | The 1-based column line a CSS Grid item starts on (0 = auto-placement). Only takes effect when the element is a grid item.                                                                                                                                                                                                                 |
| [gridRowEnd](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/gridrowend.md)                                       | The 1-based row line a CSS Grid item ends on, spanning from grid-row (0 = span a single track). Only takes effect when the element is a grid item.                                                                                                                                                                                         |
| [gridRowStart](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/gridrowstart.md)                                   | The 1-based row line a CSS Grid item starts on (0 = auto-placement). Only takes effect when the element is a grid item.                                                                                                                                                                                                                    |
| [height](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/height.md)                                               | Fixed height of an element for the layout.                                                                                                                                                                                                                                                                                                 |
| [justifyContent](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/justifycontent.md)                               | Justification of children on the main axis of this container.                                                                                                                                                                                                                                                                              |
| [justifyItems](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/justifyitems.md)                                   | Default justification (inline-axis alignment) of all items inside a CSS Grid container. Only takes effect when display is set to grid.                                                                                                                                                                                                     |
| [justifySelf](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/justifyself.md)                                     | Justification (inline-axis alignment) of a single item inside its CSS Grid cell, overriding justify-items. Only takes effect when the element is a grid item.                                                                                                                                                                              |
| [left](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/left.md)                                                   | Left distance from the element's box during layout.                                                                                                                                                                                                                                                                                        |
| [letterSpacing](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/letterspacing.md)                                 | Increases or decreases the space between characters.                                                                                                                                                                                                                                                                                       |
| [marginBottom](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/marginbottom.md)                                   | Space reserved for the bottom edge of the margin during the layout phase.                                                                                                                                                                                                                                                                  |
| [marginLeft](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/marginleft.md)                                       | Space reserved for the left edge of the margin during the layout phase.                                                                                                                                                                                                                                                                    |
| [marginRight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/marginright.md)                                     | Space reserved for the right edge of the margin during the layout phase.                                                                                                                                                                                                                                                                   |
| [marginTop](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/margintop.md)                                         | Space reserved for the top edge of the margin during the layout phase.                                                                                                                                                                                                                                                                     |
| [maxHeight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/maxheight.md)                                         | Maximum height for an element, when it is flexible or measures its own size.                                                                                                                                                                                                                                                               |
| [maxWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/maxwidth.md)                                           | Maximum width for an element, when it is flexible or measures its own size.                                                                                                                                                                                                                                                                |
| [minHeight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/minheight.md)                                         | Minimum height for an element, when it is flexible or measures its own size.                                                                                                                                                                                                                                                               |
| [minWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/minwidth.md)                                           | Minimum width for an element, when it is flexible or measures its own size.                                                                                                                                                                                                                                                                |
| [opacity](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/opacity.md)                                             | Specifies the transparency of an element and of its children.                                                                                                                                                                                                                                                                              |
| [overflow](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/overflow.md)                                           | How a container behaves if its content overflows its own box.                                                                                                                                                                                                                                                                              |
| [paddingBottom](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/paddingbottom.md)                                 | Space reserved for the bottom edge of the padding during the layout phase.                                                                                                                                                                                                                                                                 |
| [paddingLeft](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/paddingleft.md)                                     | Space reserved for the left edge of the padding during the layout phase.                                                                                                                                                                                                                                                                   |
| [paddingRight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/paddingright.md)                                   | Space reserved for the right edge of the padding during the layout phase.                                                                                                                                                                                                                                                                  |
| [paddingTop](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/paddingtop.md)                                       | Space reserved for the top edge of the padding during the layout phase.                                                                                                                                                                                                                                                                    |
| [position](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/position.md)                                           | Element's positioning in its parent container.                                                                                                                                                                                                                                                                                             |
| [right](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/right.md)                                                 | Right distance from the element's box during layout.                                                                                                                                                                                                                                                                                       |
| [rotate](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/rotate.md)                                               | A rotation transformation.                                                                                                                                                                                                                                                                                                                 |
| [rowGap](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/rowgap.md)                                               | Vertical space between elements.                                                                                                                                                                                                                                                                                                           |
| [scale](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/scale.md)                                                 | A scaling transformation.                                                                                                                                                                                                                                                                                                                  |
| [textOverflow](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/textoverflow.md)                                   | The element's text overflow mode.                                                                                                                                                                                                                                                                                                          |
| [textShadow](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/textshadow.md)                                       | Drop shadow of the text.                                                                                                                                                                                                                                                                                                                   |
| [top](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/top.md)                                                     | Top distance from the element's box during layout.                                                                                                                                                                                                                                                                                         |
| [transformOrigin](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/transformorigin.md)                             | The transformation origin is the point around which a transformation is applied.                                                                                                                                                                                                                                                           |
| [transitionDelay](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/transitiondelay.md)                             | Duration to wait before starting a property's transition effect when its value changes.                                                                                                                                                                                                                                                    |
| [transitionDuration](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/transitionduration.md)                       | Time a transition animation should take to complete.                                                                                                                                                                                                                                                                                       |
| [transitionProperty](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/transitionproperty.md)                       | Properties to which a transition effect should be applied.                                                                                                                                                                                                                                                                                 |
| [transitionTimingFunction](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/transitiontimingfunction.md)           | Determines how intermediate values are calculated for properties modified by a transition effect.                                                                                                                                                                                                                                          |
| [translate](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/translate.md)                                         | A translate transformation.                                                                                                                                                                                                                                                                                                                |
| [unityAnimationClip](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityanimationclip.md)                       | The resolved animation clip applied to the element (the first entry of [\_animationNames](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/animationnames.md)).                                                                                                                                                       |
| [unityBackgroundImageTintColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitybackgroundimagetintcolor.md) | Tinting color for the element's backgroundImage.                                                                                                                                                                                                                                                                                           |
| [unityCurvature](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitycurvature.md)                               | Bends the element's generated mesh into a curved surface around its X and/or Y axis. Accepts one or two angles: the first bends around the X axis (curving the vertical extent), the second around the Y axis (curving the horizontal extent); the sign of each selects concave or convex. Only visually meaningful on world-space panels. |
| [unityEditorTextRenderingMode](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityeditortextrenderingmode.md)   | TextElement editor rendering mode.                                                                                                                                                                                                                                                                                                         |
| [unityFont](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityfont.md)                                         | Font to draw the element's text, defined as a Font object.                                                                                                                                                                                                                                                                                 |
| [unityFontDefinition](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityfontdefinition.md)                     | Font to draw the element's text, defined as a FontDefinition structure. It takes precedence over `-unity-font`.                                                                                                                                                                                                                            |
| [unityFontStyleAndWeight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityfontstyleandweight.md)             | Font style and weight (normal, bold, italic) to draw the element's text.                                                                                                                                                                                                                                                                   |
| [unityMaterial](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitymaterial.md)                                 | Custom material to use on the element.                                                                                                                                                                                                                                                                                                     |
| [unityParagraphSpacing](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityparagraphspacing.md)                 | Increases or decreases the space between paragraphs.                                                                                                                                                                                                                                                                                       |
| [unitySliceBottom](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityslicebottom.md)                           | Size of the 9-slice's bottom edge when painting an element's background image.                                                                                                                                                                                                                                                             |
| [unitySliceLeft](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitysliceleft.md)                               | Size of the 9-slice's left edge when painting an element's background image.                                                                                                                                                                                                                                                               |
| [unitySliceRight](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitysliceright.md)                             | Size of the 9-slice's right edge when painting an element's background image.                                                                                                                                                                                                                                                              |
| [unitySliceScale](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityslicescale.md)                             | Scale applied to an element's slices.                                                                                                                                                                                                                                                                                                      |
| [unitySliceTop](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityslicetop.md)                                 | Size of the 9-slice's top edge when painting an element's background image.                                                                                                                                                                                                                                                                |
| [unitySliceType](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unityslicetype.md)                               | Specifies the type of sclicing.                                                                                                                                                                                                                                                                                                            |
| [unityTextAlign](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitytextalign.md)                               | Horizontal and vertical text alignment in the element's box.                                                                                                                                                                                                                                                                               |
| [unityTextGenerator](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitytextgenerator.md)                       | Switches between Unity's standard and advanced text generator                                                                                                                                                                                                                                                                              |
| [unityTextOutlineColor](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitytextoutlinecolor.md)                 | Outline color of the text.                                                                                                                                                                                                                                                                                                                 |
| [unityTextOutlineWidth](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitytextoutlinewidth.md)                 | Outline width of the text.                                                                                                                                                                                                                                                                                                                 |
| [unityTextOverflowPosition](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/unitytextoverflowposition.md)         | The element's text overflow position.                                                                                                                                                                                                                                                                                                      |
| [visibility](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/visibility.md)                                       | Specifies whether or not an element is visible.                                                                                                                                                                                                                                                                                            |
| [whiteSpace](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/whitespace.md)                                       | Word wrap over multiple lines if not enough space is available to draw the text of an element.                                                                                                                                                                                                                                             |
| [width](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/width.md)                                                 | Fixed width of an element for the layout.                                                                                                                                                                                                                                                                                                  |
| [wordSpacing](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/wordspacing.md)                                     | Increases or decreases the space between words.                                                                                                                                                                                                                                                                                            |
| [zIndex](/engine/6000.7/script-reference/unityengine/uielements/iresolvedstyle/zindex.md)                                               | Controls the stacking order of overlapping elements within a stacking context. The default is auto, which does not create a stacking context; any integer value creates one for the element and its descendants.                                                                                                                           |
