I found what looks like a Bugs in InitializeArc of B4XCanvas in B4A.
When I select the starting degree 0 and the final degree 360, it does not make an entire circle but like the image. stops at 359 degree and always leaves a free space
While in B4J I complete the circle correctly.
Is it a bugs?
try this
When I select the starting degree 0 and the final degree 360, it does not make an entire circle but like the image. stops at 359 degree and always leaves a free space
While in B4J I complete the circle correctly.
Is it a bugs?
B4X:
P.InitializeArc(Can.TargetRect.CenterX,Can.TargetRect.CenterY,Diam,0,360)
Can.ClipPath(P)
Can.DrawBitmap(Bmp,Can.TargetRect)
Can.Invalidate
try this
B4X:
For Degree=0 To 360 Step 10
P.InitializeArc(Can.TargetRect.CenterX,Can.TargetRect.CenterY,Diam,0,Degree)
Can.ClipPath(P)
Can.DrawBitmap(Bmp.Get(0),Can.TargetRect)
Can.RemoveClip
Can.Invalidate
Sleep(10)
Next