using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace GeoSigma.SigmaDrawerStyle
{
///
/// The point symbol.
///
public class PointSymbol
{
///
/// Initializes a new instance of the class.
///
public PointSymbol() { }
///
/// Initializes a new instance of the class.
///
/// The name.
/// The height.
/// The width.
/// The angle.
public PointSymbol(string name, double height, double width, double angle)
{
Name = name ?? string.Empty;
Height = height;
Width = width;
Angle = angle;
}
[XmlAttribute("Name")]
[Browsable(true)]
public string Name { get; set; }
[XmlAttribute("Height")]
[Browsable(true)]
public double Height { get; set; }
[XmlAttribute("Width")]
[Browsable(true)]
public double Width { get; set; }
[XmlAttribute("Angle")]
[Browsable(true)]
public double Angle { get; set; }
[XmlAttribute("FrColor")]
[Browsable(false)]
public int FrColor { get; set; }
[XmlAttribute("BkColor")]
[Browsable(true)]
public int BkColor { get; set; }
[XmlAttribute("EnableFrColor")]
[Browsable(false)]
public int EnableFrColor { get; set; } = 0;
[XmlAttribute("EnableBkColor")]
[Browsable(false)]
public int EnableBkColor { get; set; } = 0;
}
//public class PointSymbolColor
//{
// [Browsable(true)]
// public PropertyColorNullable FrColorEditValue { get; set; }
// [Browsable(false)]
// public PropertyColorNullable BkColorEditValue { get; set; }
//}
}