Class ImageWidgetController
A recyclable widget controller for pictures.
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class ImageWidgetController : RecyclableWidgetController
Properties
Color
Gets or sets a color tint to apply to the picture.
Declaration
public Color? Color { get; set; }
Property Value
Type | Description |
---|---|
Color? |
Texture
Gets or sets a Microsoft.Xna.Framework.Graphics.Texture2D instance to show in the picture widget.
Declaration
public Texture2D? Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |
Methods
Build(ContentWidget)
Declaration
public override void Build(ContentWidget destination)
Parameters
Type | Name | Description |
---|---|---|
ContentWidget | destination |
Overrides
Recycle()
Declaration
public override void Recycle()