mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 17:16:24 +02:00
25 lines
487 B
C#
25 lines
487 B
C#
using System.Drawing;
|
|
|
|
namespace RemSox.UI.GUI.UIEelements.Shapes;
|
|
|
|
public class Text() : UIElement("Text")
|
|
{
|
|
public string Content
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(Content), ref field, value);
|
|
} = string.Empty;
|
|
|
|
public Color Color
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(Color), ref field, value);
|
|
} = Color.White;
|
|
|
|
public int FontSize
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(FontSize), ref field, value);
|
|
} = 12;
|
|
}
|