title: add UIBezierPath to UIView
body: <p>i have a UIView with layout constraint (width:400, height:180) and i want to add a bezier inside the view.</p>
  
  <p>my bezier is this:</p>
  
  <pre><code>UIBezierPath* bezierPath = [UIBezierPath bezierPath];
  
  // origin, height | left border
  [bezierPath moveToPoint: CGPointMake(0, 20)];
  
  // origin, height | left border
  [bezierPath addLineToPoint: CGPointMake(0, _donationView.frame.size.height)];
  
  // height, width | bottom border
  [bezierPath addLineToPoint: CGPointMake(_donationView.frame.size.width , _donationView.frame.size.height)];
  
  [bezierPath addLineToPoint: CGPointMake(_donationView.frame.size.width, 20)];
  
  [bezierPath addLineToPoint: CGPointMake(_donationView.frame.size.width - 20, 20)];
  
  [bezierPath addLineToPoint: CGPointMake(_donationView.frame.size.width - 30, 15)];
  
  [bezierPath addLineToPoint: CGPointMake(_donationView.frame.size.width - 40, 20)];
  
  [bezierPath addLineToPoint: CGPointMake(0, 20)];
  
  [bezierPath closePath];
  [UIColor.grayColor setFill];
  [bezierPath fill];
  [UIColor.blackColor setStroke];
  bezierPath.lineWidth = 1;
  [bezierPath stroke];
  </code></pre>
  
  <p>after creating bezier i pass to:</p>
  
  <pre><code>CAShapeLayer *shapeView = [[CAShapeLayer alloc] initWithLayer:_donationView.layer];
  [shapeView setPath:bezierPath.CGPath];
  
  _donationView.layer.mask = shapeView;
  </code></pre>
  
  <p>but the bezier goes to this CGRect(0, 0, 240, 128);</p>
  
  <p>how can i have a CGRect of (0,0,400, 180)?</p>
  
  <p>thanks guys</p>