B4A Question [Solved by Klaus] 9Patch and MeasureStringWidth - klaus (first post)    Jun 20, 2019   (1 reaction) You should read the documentation for Canvas. A Canvas is an object that draws on other views or (mutable) bitmaps. When the canvas is initialized and set to draw on a view, a new mutable bitmap is created for that view background, the current view's background is copied to the new bitmap and the ca B4J Code Snippet [B4X] Canvas - ensure free mouse drawing without gaps (smooth continuous drawing) - moster67    Apr 26, 2020   (1 reaction) I hope someone might find it useful. Happy coding. B4A Question Canvas size not containing my variant - Brian Dean (first post)    May 18, 2024   (1 reaction) The Layout Designer is built to make it easy to design layouts that will automatically fit different screen sizes. What you call the "canvas" is a notional screen area. One normally designs a layout in which the views are "anchored" to the screen edges; their sizes are specified in dips (device inde B4J Question Strange error: ...Canvas cannot be cast to ...Pane - Erel (first post)    Dec 15, 2022   (1 reaction) No. This is how Canvas works in JavaFX. It is a separate node. B4J Question [B4XPages] Canvas Question - klaus (first post)    Nov 12, 2023   (2 reactions) In B4J a 'standard' Canvas is a node (view in B4A) like other user interface nodes and can be added in the Designer.
In B4A and B4i a Canvas is a Drawing object but not a view. and cannot be added in the Designer.
B4XCavas works the dame way, also in B4J, you need to declare it in the code and assig Wish Canvas as a View in the designer - Erel (first post)    Feb 19, 2015 Canvas is not a view (like in B4J). It is an object that draws over other views. B4A Question (Solved) How to convert image to bitmap? (In-Line Java code) - LGS (first post)    Jun 12, 2022   (3 reactions) Mr. Schoeman we did...
In B4A, Canvas is different than B4J
Canvas is not a view (like in B4J). It is an object that draws over other views. B4A Question Canvas on PDFView - DonManfred (first post)    Feb 21, 2022   (1 reaction) PDFView2 is not a view you can use on a Canvas.
You can export any page to an Bitmap and draw this Bitmap on a canvas and then draw lines on this. Italian Canvas (o panel) scrollabile - klaus (first post)    Mar 31, 2021   (2 reactions) You could use a ScrollView (B4i), a ScrollView2D (B4A), a ScrollPane (B4J) and link the Canvas to their internal Panel/Pane. B4A Library [Lib] Accelerated surface - Informatix (first post)    Jan 22, 2016 A canvas, accelerated or not, is a surface to show drawings. So what's the usefulness to hide it when you draw onto it? At worst, mask it behind a panel. Page: 1   2   3   4   5   6   7   Powered by ColBERT |