ios - how to join line with round corder -


I have three points, code A, B and C, the code to link the following points

  // Override Direct: If you do a custom drawing // An empty implementation adversely affects performance during animation - (zero) direct: (CGRact) rect {// drawing code CGCTXTIF reference = UigrexgateCertact Contact (); NSArray * points = @ [[NSValue valueWithCGPoint: CGPointMake (10.0f, 15.0f)], [NSV Value Videocon's Point: CGPWantmec (100.0F, 170.0F)], [NSW Value VCTGNT: CGPWantmec (190.0F, 100.0F)], ]; CGContextSetStrokeColorWithColor (Reference, [UIColor redColor] .CGColor); CGContextSetLineWidth (Reference, 2.0F); CGContextSetLineJoin (reference, KCGLineJoinRound); CGContextSetLineCap (Reference, KCG LyncapRound); For (int i = 0; i   

Enter image details here

However, the junction of the two rows is an angle, I should be in point B. with a rounded cedar. Like the following image:

Enter image details here

How to do

You have 2 straight lines, which are asking for you (possibly 2 Try using

or CGPathAddCurveToPoint or CGPathAddQuadCurveToPoint .

/ P>

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -