Dim p As Path p.Initialize(0, 0) Dim jo As JavaObject = p Dim x = 100dip, y = 100dip, radius = 100dip As Float jo.RunMethod("addCircle", Array As Object(x, y, radius, "CW")) cvs.ClipPath(p) Where can I find references to obtain more info on Adding different Draws to a Path...
www.b4x.com
is there a b4x solution for that? i would like to make a jigsaw puzzle but using b4x code.
any ideas how to do that?
In B4A you may have a look at ABExtDrawing library.
I have never looked deeper for B4i.
For cross-platform methods you may have a look at this thread: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator.105384/#content
The test project in this thread contains AddBezier routines, you could make your own arc routines based on the same principle: add short lines like every degree.
For cross-platform methods you may have a look at this thread: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator.105384/#content
The test project in this thread contains AddBezier routines, you could make your own arc routines based on the same principle: add short lines like every degree.