ios - lineWidth for UIBezierPath has maximum -


I'm trying to make an arc, like half a circle, I can live with different colors I thought I would start an arduous path for arc and set the line width to something bigger. Here's what I've done so far:

  Caspelier * layer = (Caspayer *) itself. Layer; UIBezierPath * bezierPath = [UIBezierPath bezierPath]; CGPoint StartPoint = CP pointmake (self bands.origin.exe, self.bounds.organ.a + self.boundsskies.high / 2); [Bezierpath Movito point: startpoint]; Layer. Fill collar = [UIColor clearColor] .CGColor; Layer. Stroke color = [UIColor redColor] .CGColor; CGFloat Strokes Sections = 10; CGPoint endpoint = CP pointmake (self bands.org.org.x + self.boundsizeWith, self.bounds.origin.a + self.boundsskies.hit/2); [Bezier Path Set Linewidth: 100]; [Bezierpath Edkwadkurutoutoin: And point control point: CG pointmack (self bands.org.x + self.boundsskies.Withth / 2, self.bounds.edge.i)]; BezierPath.lineCapStyle = KCG LanguageAphere; Layer path.besierpath CGP;  

When I see my arc, it does not look bigger than the thin path. Is there a way to do something like that? Or do I need to make two paths and somehow fill the area between them?

You have the line width of the layer, not the bezier path,

  Layer.lineWidth = 100;  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -