public void CreateBox(Rect p_region) { // Increase size of region to have padding Rect boxRect = new Rect(p_region.xMin - 20, p_region.yMin - 60, p_region.width + 40, p_region.height + 80); GraphBox box = new GraphBox("Comment", boxRect); _boxes.Add(box); }
public void DeleteBox(GraphBox p_box) { _boxes.Remove(p_box); }