您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
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. }