示例#1
0
 public override Container GetBounds()
 {
     return(new Container()
     {
         TopLeft = TopLeft.Clone(),
         BottomRight = BottomRight.Clone()
     });
 }
示例#2
0
 public override Shape DeepClone()
 {
     return(new FilledRectangle(TopLeft.Clone(), BottomRight.Clone(), Width, Color));
 }