- using System;
-
- namespace RenderHookAPI.Hook.Common
- {
- [Serializable]
- public class TextElement: Element
- {
- public virtual string Text { get; set; }
- public virtual System.Drawing.Font Font { get; set; } = System.Drawing.SystemFonts.DefaultFont;
- public virtual System.Drawing.Color Color { get; set; } = System.Drawing.Color.Black;
- public virtual System.Drawing.Point Location { get; set; }
- public virtual bool AntiAliased { get; set; } = false;
-
- public TextElement() { }
-
- public TextElement(System.Drawing.Font font)
- {
- Font = font;
- }
- }
- }
|