DrawToolsRedux/DrawText.cs
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Globalization;
using System.Runtime.Serialization;
using System.Windows.Forms;
namespace DrawTools
{
/// <summary>
/// Rectangle graphic object
/// </summary>
//[Serializable]
public class DrawText : DrawObject
{
private Rectangle rectangle;
private string _theText;
private Font _font;
protected string TheText
{
get { return _theText; }
set
{
_theText = value;
TipText = value;
}
}
public Font TheFont
{
get { return _font; }
set { _font = value; }
}
private const string entryRectangle = "Rect";
private const string entryText = "Text";
private const string entryFontName = "FontName";
private const string entryFontBold = "FontBold";
private const string entryFontItalic = "FontItalic";
private const string entryFontSize = "FontSize";
private const string entryFontStrikeout = "FontStrikeout";
private const string entryFontUnderline = "FontUnderline";
protected Rectangle Rectangle
{
get { return rectangle; }
set { rectangle = value; }
}
public DrawText()
{
//SetRectangle(0, 0, 1,1);
_theText = "";
Initialize();
}
/// <summary>
后面还有 400 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。