title: UIBezierPath strokecolor outline when drawing
body: <p>I'm doing some tests with freehand drawing for an App. I've implemented a line draw and and erase draw method.</p>
  
  <pre><code>- (void)drawRect:(CGRect)rect
  {
      [self.addingImage drawInRect:rect];
      [self.path stroke];
      self.path.lineCapStyle = kCGLineCapRound;
  
      if (self.isEraseMode)
      {
          [[UIColor clearColor] setStroke];
          [self.path setLineWidth:self.eraseWidth];
          [self.path strokeWithBlendMode:kCGBlendModeClear alpha:1.0];
      }
      else
      {
          [self.strokeColor setStroke];
          [self.path setLineWidth:self.strokeWidth];
          [self.path strokeWithBlendMode:kCGBlendModeNormal alpha:1.0];
      }
  }
  </code></pre>
  
  <p>The app draws well, but I've seen a dark outline while I'm drawing which disappear when touch ended.</p>
  
  <p><img src="https://i.stack.imgur.com/e7niR.png" alt="While drawing"></p>
  
  <p><img src="https://i.stack.imgur.com/xoDXr.jpg" alt="After drawing"></p>
  
  <p>Is there a way to avoid this outline when drawing?</p>
  
  <p>Thanks.</p>