Question

Ma ligne est épaisse que 1 pixel. Comment puis-je épaissir? J'utilise MontoTouch.net mais Objective-C est très bien dans la réponse.

ctx.SetRGBStrokeColor (1,1,1, 1f);
ctx.MoveTo(130,110);
ctx.AddLineToPoint(200,200);
ctx.StrokePath();
Était-ce utile?

La solution

ctx.LineWidth = 5;

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top