UIBezierPathCGRectrect=CGRectMake(50,50,50,50);//UIBezierPath*bezierPath=[UIBezierPathbezierPath];////CALayer的子类//CAShapeLayer*layer=[CAShapeLayernew];////轮廓的颜色//layer.strokeColor=[UIColorgreenColor].CGColor;////填充颜色//layer.fillColor=[UIColoryellowColor].CGColor;////轮廓线宽度