Class Avatar
Avatar UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Avatar : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISizeableElement
Constructors
| Name | Description |
|---|---|
| Avatar() | Default constructor. |
Fields
| Name | Description |
|---|---|
| containerUssClassName | The Avatar container styling class. |
| sizeUssClassName | The Avatar size styling class. |
| ussClassName | The Avatar main styling class. |
| variantUssClassName | The Avatar variant styling class. |
Properties
| Name | Description |
|---|---|
| backgroundColor | The Avatar background color. |
| backgroundImage | The Avatar background image. |
| contentContainer | The content container of the Avatar. |
| outlineColor | The Avatar outline color. |
| outlineWidth | The Avatar outline width. |
| size | The Avatar size. |
| src | The Avatar source image. |
| variant | The Avatar variant. |