using System;
using System.Collections.Generic;
using System.Text;
namespace HiTeachCC.Model.PowerPoint
{
public abstract class Path
{
double w { get; set; }
double h { get; set; }
public string Type { get; set; }
}
public class ClosePath :Path
{
public bool Close { get; set; } = false;
}
///
/// 起点
///
public class MoveToPath : Path
{
public MoveToPath()
{
Pts = new List { };
}
public List Pts { get; set; }
}
///
/// 弧形
///
public class ArcToPath : Path
{
public string WidthRadius { get; set; }
public string HeightRadius { get; set; }
public string StartAngle { get; set; }
public string SwingAngle { get; set; }
}
///
/// 画线
///
public class LineToPath : Path
{
public LineToPath()
{
Pts = new List { };
}
public List Pts { get; set; }
}
///
/// 三次贝塞尔曲线
///
public class CubicBezPath : Path
{
public CubicBezPath()
{
Pts = new List { };
}
public List Pts { get; set; }
}///
/// 二次贝塞尔曲线
///
public class QuadBezPath : Path
{
public QuadBezPath()
{
Pts = new List { };
}
public List Pts { get; set; }
}
public class Point
{
public double X { get; set; }
public double Y { get; set; }
}
}