ImageEditor/CustomShape.cs
(完整代码) 812Busing System.Drawing;
using System.Drawing.Drawing2D;
namespace ImageEditor
{
internal class CustomShape
{
private Shape _shape;
private GraphicsPath _path;
private Pen _pen;
public Shape Shape
{
get { return _shape; }
set { _shape = value; }
}
public GraphicsPath Path
{
get { return _path; }
set { _path = value; }
}
public Pen Pen
{
get { return _pen; }
set { _pen = value; }
}
}
internal enum Shape
{
Unknown = 0, Pen = 1, Highlighter = 2, Eraser = 3, Text = 4, Selection = 5
}
internal enum PenSize
{
Fine = 3, Medium = 8, Thick = 15
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
