Class DefaultAvatarProperties
A CustomPropertyObject for storing and caching properties used by the DefaultAvatarColorizer effect.
Inherited Members
Namespace: SociallyDistant.Core.UI.Effects
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class DefaultAvatarProperties : CustomPropertyObject
Constructors
DefaultAvatarProperties(Widget)
Creates a new instance of the DefaultAvatarProperties object.
Declaration
public DefaultAvatarProperties(Widget owner)
Parameters
Type | Name | Description |
---|---|---|
Widget | owner | The Widget to which these properties will be attached. |
Properties
Foreground
Gets or sets the color used for the avatar's foreground.
Declaration
public Color Foreground { get; set; }
Property Value
Type | Description |
---|---|
Color |
UseLightBackground
Gets or sets whether a light background should be used.
Declaration
public bool UseLightBackground { get; set; }
Property Value
Type | Description |
---|---|
bool |