We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please see screenshot
for more detail
Sorce Code I am using:
pointArry comes from free hand drawing.
CGContextBeginPath(context); float width=[_widthLine floatValue]; UIBezierPath *_curve = [self getDrawBeizerPath:pointArray];; CGContextAddPath(context, _curve.CGPath); CGContextSetStrokeColorWithColor(context,[_color CGColor]); CGContextSetLineWidth(context, width); CGContextSetFillColorWithColor(context, [[UIColor yellowColor] CGColor]); CGContextStrokePath(context);
-(UIBezierPath *) getDrawBeizerPath:(NSArray *)pointArray {
UIBezierPath *path = [UIBezierPath bezierPath]; path.contractionFactor = 0.7; CGPoint myStartPoint= [[pointArray objectAtIndex:0] CGPointValue]; [path moveToPoint:myStartPoint]; [path addBezierThroughPoints:pointArray]; return path;
}
The text was updated successfully, but these errors were encountered:
Have you solved the problem?
Sorry, something went wrong.
No branches or pull requests
Please see screenshot
![Stroke](https://user-images.githubusercontent.com/12707681/91143963-f4086b80-e6d0-11ea-84b3-be4152834d16.png)
for more detail
Sorce Code I am using:
pointArry comes from free hand drawing.
-(UIBezierPath *) getDrawBeizerPath:(NSArray *)pointArray {
}
The text was updated successfully, but these errors were encountered: