1. ivan.tellez

    Android Code Snippet [B4X] [XUI] Canvas Draw Round Rect, Arcs, Ovals

    XUI v1.60 introduces a new method: DrawPath With this, now we have more options to draw: Arc Oval RoundRect LineTo Just consult the documentation of each method of the B4XPath object, Asuming an initialized B4XCanvas (tCanvas) the relevant code is: Dim tRect As B4XRect...
  2. LucaMs

    Android Question XUI - B4XCanvas

    How to set anti aliasing for B4XCanvas? I tried this example: https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/ and the result is bad - both circle and image.
  3. yiankos1

    Android Question B4XCanvas "setAntiAlias" method

    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") This...