public Line(Wall wall) { this.X1 = SizeConverter.LevelToView(wall.Point1.X); this.Y1 = SizeConverter.LevelToView(wall.Point1.Y); this.X2 = SizeConverter.LevelToView(wall.Point2.X); this.Y2 = SizeConverter.LevelToView(wall.Point2.Y); }