I wanted to be able to count items in an image (birds in a flock). The simple logic said load an image, and then use the left mouse click to mark each item with a coloured blob. I then made it remove the last blob with a right mouse click.
This simple program was a serious learning curve for...
XUI v1.60 introduces a new method: DrawPath
With this, now we have more options to draw:
Just consult the documentation of each method of the B4XPath object, Asuming an initialized B4XCanvas (tCanvas) the relevant code is:
Dim tRect As B4XRect...
Hello my friend,
How can i set antialias at b4x canvas?
Dim Obj1 As Reflector
Dim Canv As Canvas
Canv.Initialize(Btn1) ' initialize on what you want
Obj1.Target = Canv
Obj1.Target = Obj1.GetField("paint")
Obj1.RunMethod2("setAntiAlias", True, "java.lang.boolean")