25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
637 B

  1. using System;
  2. namespace RenderHookAPI.Hook.Common
  3. {
  4. [Serializable]
  5. public class TextElement: Element
  6. {
  7. public virtual string Text { get; set; }
  8. public virtual System.Drawing.Font Font { get; set; } = System.Drawing.SystemFonts.DefaultFont;
  9. public virtual System.Drawing.Color Color { get; set; } = System.Drawing.Color.Black;
  10. public virtual System.Drawing.Point Location { get; set; }
  11. public virtual bool AntiAliased { get; set; } = false;
  12. public TextElement() { }
  13. public TextElement(System.Drawing.Font font)
  14. {
  15. Font = font;
  16. }
  17. }
  18. }