mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-28 19:26:35 +08:00
版本初始化,建立主窗体页面
This commit is contained in:
71
ImageWindow/Config/CircularArc.cs
Normal file
71
ImageWindow/Config/CircularArc.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
namespace ViewROI.Config
|
||||
{
|
||||
[Serializable]
|
||||
class CircularArc
|
||||
{
|
||||
private double _row;
|
||||
private double _column;
|
||||
private double _radius;
|
||||
private double _startPhi;
|
||||
private double _extentPhi;
|
||||
[XmlElement(ElementName = "Row")]
|
||||
public double Row
|
||||
{
|
||||
get { return this._row; }
|
||||
set { this._row = value; }
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "Column")]
|
||||
public double Column
|
||||
{
|
||||
get { return this._column; }
|
||||
set { this._column = value; }
|
||||
}
|
||||
[XmlElement(ElementName = "Radius")]
|
||||
public double Radius
|
||||
{
|
||||
get { return this._radius; }
|
||||
set { this._radius = value; }
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "startPhi")]
|
||||
public double StartPhi
|
||||
{
|
||||
get { return this._startPhi; }
|
||||
set { this._startPhi = value; }
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "ExtentPhi")]
|
||||
public double ExtentPhi
|
||||
{
|
||||
get { return this._extentPhi; }
|
||||
set { this._extentPhi = value; }
|
||||
}
|
||||
|
||||
private string color = "yellow";
|
||||
[XmlElement(ElementName = "Color")]
|
||||
public string Color
|
||||
{
|
||||
get { return this.color; }
|
||||
set { this.color = value; }
|
||||
}
|
||||
public CircularArc()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public CircularArc(double row, double column, double radius,double startPhi, double extentPhi)
|
||||
{
|
||||
this._row = row;
|
||||
this._column = column;
|
||||
this._radius = radius;
|
||||
this._startPhi = startPhi;
|
||||
this._extentPhi = extentPhi;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user