문제

I'm trying to draw an Arc in AndroidScript on the canvas. Does that method exist?

Thanks,

Dan

[they're making me add more to the question, so here you go]

도움이 되었습니까?

해결책

Here is a good answer posted by Schnee Wittchen on another forum:-

You may use the DrawArc method of the image object. I found it a little bit tricky as it behaves different to the normal explanation, but anyway it is usable.

Syntax: img.DrawArc( x1, y1, x2, y2 ,startangle, sweepangle );

With the x1, y1, x2, y2 you define a rectangle. Within this rectangle the arc is drawn, starting at the startangle and turning clockwise by the sweepangle.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top