using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace V3.Widgets
{
///
/// A widget that contains some text.
///
public interface ITextWidget : IWidget
{
///
/// The text of this widget.
///
string Text { get; set; }
///
/// The space that is added before and after the text in the
/// horizontal direction.
///
float PaddingX { get; set; }
///
/// The space that is added before and after the text in the
/// vertical direction.
///
float PaddingY { get; set; }
///
/// The horizontal orientation of the text within the size.
///
HorizontalOrientation HorizontalOrientation { get; set; }
///
/// The default color of the text.
///
Color Color { get; set; }
///
/// The font for text rendering.
///
SpriteFont Font { get; set; }
}
}