Draws the receiver's image within the passed-in rectangle 在传入的矩形区域中绘制接收者的图像
- (void) drawRect:(CGRect)rect;
rect The portion of the view’s bounds that needs to be updated. The first time your view is drawn, this rectangle is typically the entire visible bounds of your view. However, during subsequent drawing operations, the rectangle may specify only part of your view.