Wish B4X XUI Add MeasureTextWidth and MeasureTextHeight to B4XCanvas - klaus    Apr 13, 2018 Hi Erel, The title says the wish. Currently, there are three different routines in the class with different results. Example: MeasureTextHeight("Mg") and MeasureTextHeight("M") give different results in B4A because the real height is different, but give the same result in B4J. I have not checked with B4i.... B4J Library AsyncCanvas, B4XCanvas wrapper with Invalidate for B4J - max123    Aug 2, 2025   (9 reactions) implementation of B4A B4XCanvas with working Invalidate. After I figured that Canvas.Invalidate do nothing... of B4XCanvas with working Invalidate function on B4J. It completely exposes regular B4XCanvas, after... and pass a B4XView . Some drawing functions have been added to original B4XCanvas: - DrawPixel... you all the drawings. UPDATED: v1.08 Add a command to get native B4XCanvas from AsyncCanvas, this code now works. Dim NativeCanvas As B4XCanvas = b4xCvs.GetNativeCanvas AsyncCanvas Author: Massimo Meli... Wish B4Xcanvas.getCanvas - Tayfur    Oct 30, 2018 Hi @Erel; is it possible ; i need using for old libs. private B4Xcnvs as B4XCanvas private cnvs as Canvas cnvs=B4Xcnvs.getCanvas ... B4A Tutorial [B4X] [XUI] Drawing with B4XCanvas - Erel    Oct 24, 2017   (18 reactions)   tags: XUI B4XCanvas is the cross platform version of Canvas.
Steps to using B4XCanvas:
1. Initialize and... you should call B4XCanvas.Resize. This is more relevant in B4J and B4i as the activity is recreated in... B4A Question B4XCanvas become uninitialized if app is put in background - RB Smissaert    Jul 10, 2025 In a B4XPages project I sometimes run a progressbar by drawing a line on a B4XCanvas... this seems to be to initialize the B4XCanvas in Sub B4XPage_Appear:
Sub Class_Globals
Private... B4A Question b4xCanvas MeasureText (Multiline) - fbritop    Jan 26, 2021 Is it posible to calculate the height of a label and text, but with multiple lines? The way that b4i... B4J Question B4XCanvas - InitializeArc looks different than in B4A - Alexander Stolte    May 19, 2020 Hey,
why it look in B4J so?:
94362
and on B4A only the right outer line is to watch?
Dim tmp_bp As B4XPath
tmp_bp.InitializeArc(xcv_main.TargetRect.CenterX,xcv_main.TargetRect.CenterY,Height/2,10... B4J Question B4XCanvas: why lines are cut ? - peacemaker    Jan 1, 2025 Hi, All
Trying to use B4XCanvas for the first time.
Trying to join red point by drawing the yellow lines.
B4XCanvas is tied to the container placed over the image, but strange that the area where... B4A Code Snippet [B4X] [B4XCanvas] Fill a panel with diagonally drawn lines - Alexander Stolte    Apr 5, 2022   (15 reactions) As B4XCanvas
xcv.Initialize(Target)
Dim p As Float = -(IIf(Width > Height,Width...127529
FillWithDiagonallyDrawnLines(xpnl_Main,15dip,20dip,xui.Color_ARGB(255,49, 138, 123))
Private Sub FillWithDiagonallyDrawnLines(Target As B4XView,Thickness As Float,GapBetween As Float,Color... B4J Code Snippet A method for drawing paths of line shapes in B4J with B4XCanvas - William Lancee    Jul 25, 2021   (4 reactions) listToPath(pntList As List, thickness As Float) As B4XPath 'This method works for all... As B4XPath Dim epsilon As Float = .001 Dim firstPt(2), lastPt(2), prevPt(2) As Object Dim....Add(Array(-0.4, 0.0)) fromCenter.Add(Array(-0.2, 0.0)) fromCenter.Add(Array(0.0, 0.0)) fromCenter.Add(Array(0.2, 0.0)) fromCenter.Add(Array(0.4, 0.0)) drawRotatedShape (fromCenter... Page: 1   2   3   4   5   |