AIMS/DrawGraph/BoardPack/RoundRectangePackObj.cs
2022-08-23 21:12:59 +08:00

93 lines
1.2 KiB
C#

using Newtonsoft.Json;
using System;
using System.Drawing;
namespace DrawGraph
{
[JsonObject(MemberSerialization.OptOut)]
[Serializable]
public class RoundRectangePackObj : PackObjBase
{
private new float width = 0f;
private new float height = 0f;
private float startAngle = 45f;
private float sweepAngle = 270f;
private Color frameColor = Color.Black;
public float StartAngle
{
get
{
return this.startAngle;
}
set
{
this.startAngle = value;
}
}
public float SweepAngle
{
get
{
return this.sweepAngle;
}
set
{
this.sweepAngle = value;
}
}
public Color FrameColor
{
get
{
return this.frameColor;
}
set
{
this.frameColor = value;
}
}
public new float Height
{
get
{
return this.height;
}
set
{
this.height = value;
}
}
public new float Width
{
get
{
return this.width;
}
set
{
this.width = value;
}
}
public RoundRectangePackObj(ZedGraphControl zgc, PackObjManager poManager) : base(zgc, poManager)
{
this.baseZed = zgc;
base.PackText = "方框" + this.index.ToString();
}
public override void Draw()
{
}
}
}