public AlignmentProtocolCollection(MatrixViewModel owner) { Owner = owner; HorizontalProtocols = new List<AlignmentProtocol>(); VerticalProtocols = new List<AlignmentProtocol>(); }
// <summary> Gets or sets whether each box is rounded to smallest enclosing rectangle (false) or whether the polygon shape of the box is used for fitting matrix elements. </summary> //public bool ConsiderPolygonShapes { get; set; } //constructor /// <summary> Creates a new arranger specifying the relative positions of the boxes constituting the matrix. /// Initially, there are zero rows and columns, since this ctor is called before the boxes collection is populated. </summary> /// <param name="boxes"> The boxes in the matrix. </param> public MatrixView(MatrixViewModel viewModel, IReadOnlyList<ILayout> boxes) : base(boxes) { this.viewModel = viewModel; }