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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -