public override Container GetBounds() { return(new Container() { TopLeft = TopLeft.Clone(), BottomRight = BottomRight.Clone() }); }
public override Shape DeepClone() { return(new FilledRectangle(TopLeft.Clone(), BottomRight.Clone(), Width, Color)); }