public Corner(int x, int y, SelectionComponentType type, Selection parent) { Parent = parent; SelectionComponentType = type; _point = new Point(x, y); }
public ISelectionComponent GetSelectionComponentByType(SelectionComponentType componentType) { return(this._components.Where(x => x.SelectionComponentType == componentType).Single()); }