public List <List <AvactorInfo> > GetImageSize() { List <List <AvactorInfo> > list = new List <List <AvactorInfo> >(); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); List <AvactorInfo> avators = new List <AvactorInfo>(); AvactorInfo width = new AvactorInfo { FilePath = TempImage, Width = 2, Heigh = 154, IsResize = true }; avators.Add(width); avators.Add(new AvactorInfo { FilePath = ImagePaths.First(), Width = 150, Heigh = 154, IsResize = false }); avators.Add(width); list.Add(avators); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); return(list); }
public List <List <AvactorInfo> > GetImageSize() { List <List <AvactorInfo> > list = new List <List <AvactorInfo> >(); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 156, Heigh = 2, IsResize = true } }); List <AvactorInfo> floor1 = new List <AvactorInfo>(); AvactorInfo width = new AvactorInfo { FilePath = TempImage, Width = 2, Heigh = 75, IsResize = true }; floor1.Add(width); floor1.Add(new AvactorInfo { FilePath = ImagePaths.First(), Width = 75, Heigh = 75, IsResize = false }); floor1.Add(width); floor1.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(1), Width = 75, Heigh = 75, IsResize = false }); floor1.Add(width); list.Add(floor1); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 156, Heigh = 2, IsResize = true } }); List <AvactorInfo> floor2 = new List <AvactorInfo>(); floor2.Add(width); floor2.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(2), Width = 75, Heigh = 75, IsResize = false }); floor2.Add(width); floor2.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(3), Width = 75, Heigh = 75, IsResize = false }); floor2.Add(width); list.Add(floor2); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 156, Heigh = 2, IsResize = true } }); return(list); }
/// <summary> /// 七张图 /// </summary> /// <param name="ImagePaths"></param> /// <returns></returns> public List <List <AvactorInfo> > GetImageSize() { List <List <AvactorInfo> > list = new List <List <AvactorInfo> >(); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); List <AvactorInfo> floor1 = new List <AvactorInfo>(); AvactorInfo commonwidth = new AvactorInfo { FilePath = TempImage, Width = 2, Heigh = 50, IsResize = true }; AvactorInfo outsideWidth = new AvactorInfo { FilePath = TempImage, Width = 54, Heigh = 50, IsResize = true }; floor1.Add(outsideWidth); floor1.Add(new AvactorInfo { FilePath = ImagePaths.First(), Width = 50, Heigh = 50, IsResize = false }); floor1.Add(outsideWidth); list.Add(floor1); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); List <AvactorInfo> floor2 = new List <AvactorInfo>(); floor2.Add(commonwidth); floor2.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(1), Width = 50, Heigh = 50, IsResize = false }); floor2.Add(commonwidth); floor2.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(2), Width = 50, Heigh = 50, IsResize = false }); floor2.Add(commonwidth); floor2.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(3), Width = 50, Heigh = 50, IsResize = false }); floor2.Add(commonwidth); list.Add(floor2); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); List <AvactorInfo> floor3 = new List <AvactorInfo>(); floor3.Add(commonwidth); floor3.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(4), Width = 50, Heigh = 50, IsResize = false }); floor3.Add(commonwidth); floor3.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(5), Width = 50, Heigh = 50, IsResize = false }); floor3.Add(commonwidth); floor3.Add(new AvactorInfo { FilePath = ImagePaths.ElementAt(6), Width = 50, Heigh = 50, IsResize = false }); floor3.Add(commonwidth); list.Add(floor3); list.Add(new List <AvactorInfo>() { new AvactorInfo { FilePath = TempImage, Width = 158, Heigh = 2, IsResize = true } }); return(list); }