|
@@ -20,21 +20,25 @@ namespace HiTeachCC.Model.PowerPoint
|
|
|
/// </summary>
|
|
|
public class MoveToPath : Path
|
|
|
{
|
|
|
- public MoveToPath()
|
|
|
- {
|
|
|
- Pts = new List<Point> { };
|
|
|
- }
|
|
|
- public List<Point> Pts { get; set; }
|
|
|
+ public double Mx { get; set; }
|
|
|
+ public double My { get; set; }
|
|
|
+ //public MoveToPath()
|
|
|
+ //{
|
|
|
+ // Pts = new List<Point> { };
|
|
|
+ //}
|
|
|
+ //public List<Point> Pts { get; set; }
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 弧形 <a:arcTo>
|
|
|
/// </summary>
|
|
|
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 double WidthRadius { get; set; }
|
|
|
+ public double HeightRadius { get; set; }
|
|
|
+ public double StartAngle { get; set; }
|
|
|
+ public double SwingAngle { get; set; }
|
|
|
+ //public string X { get; set; }
|
|
|
+ //public string Y { get; set; }
|
|
|
}
|
|
|
|
|
|
|
|
@@ -43,32 +47,49 @@ namespace HiTeachCC.Model.PowerPoint
|
|
|
/// </summary>
|
|
|
public class LineToPath : Path
|
|
|
{
|
|
|
- public LineToPath()
|
|
|
- {
|
|
|
- Pts = new List<Point> { };
|
|
|
- }
|
|
|
- public List<Point> Pts { get; set; }
|
|
|
+ public double Lx { get; set; }
|
|
|
+ public double Ly { get; set; }
|
|
|
+ //public LineToPath()
|
|
|
+ //{
|
|
|
+ // Pts = new List<Point> { };
|
|
|
+ //}
|
|
|
+ //public List<Point> Pts { get; set; }
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 三次贝塞尔曲线<a:cubicBezTo>
|
|
|
/// </summary>
|
|
|
public class CubicBezPath : Path
|
|
|
{
|
|
|
- public CubicBezPath()
|
|
|
- {
|
|
|
- Pts = new List<Point> { };
|
|
|
- }
|
|
|
- public List<Point> Pts { get; set; }
|
|
|
+ public double Cx1 { get; set; }
|
|
|
+ public double Cy1 { get; set; }
|
|
|
+
|
|
|
+ public double Cx2 { get; set; }
|
|
|
+ public double Cy2 { get; set; }
|
|
|
+
|
|
|
+ public double Cx3 { get; set; }
|
|
|
+ public double Cy3 { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ //public CubicBezPath()
|
|
|
+ //{
|
|
|
+ // Pts = new List<Point> { };
|
|
|
+ //}
|
|
|
+ //public List<Point> Pts { get; set; }
|
|
|
}/// <summary>
|
|
|
/// 二次贝塞尔曲线 <a:quadBezTo>
|
|
|
/// </summary>
|
|
|
public class QuadBezPath : Path
|
|
|
{
|
|
|
- public QuadBezPath()
|
|
|
- {
|
|
|
- Pts = new List<Point> { };
|
|
|
- }
|
|
|
- public List<Point> Pts { get; set; }
|
|
|
+ public double Cx1 { get; set; }
|
|
|
+ public double Cy1 { get; set; }
|
|
|
+
|
|
|
+ public double Cx2 { get; set; }
|
|
|
+ public double Cy2 { get; set; }
|
|
|
+ //public QuadBezPath()
|
|
|
+ //{
|
|
|
+ // Pts = new List<Point> { };
|
|
|
+ //}
|
|
|
+ //public List<Point> Pts { get; set; }
|
|
|
}
|
|
|
|
|
|
public class Point
|