Object documentation: Canvas B4A Library [B4X] [XUI] AS Draw (FabricView and CanvasView) - Alexander Stolte    Mar 17, 2023   (45 reactions) CanvasView.
B4J: jXUI, JavaObject
B4A: XUI
B4i: iXUI
Features
cross-platform compatible
set... B4J Code Snippet Remove Aliasing on Canvas horizontal and vertical lines - max123    Dec 10, 2022   (6 reactions) . javafx.scenes.canvas by default use antialiasing, this maybe is good on some cases, but if we draw.../27846659/how-to-draw-an-1-pixel-line-using-javafx-canvas after I converted this code to.... It is possible to add a variant inside B4J Canvas class for next releases? Maybe it can do... a way to disable antialias on entire canvas, but maybe there is a way, tried with JavaObject but just... MainForm.Title="This demo show how to remove aliasing on Canvas horizontal and vertical lines... 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 ... B4J Library {B4X] A class to draw on canvas many types of arrows at any angle. - William Lancee    Aug 24, 2022   (18 reactions) Once again I found myself writing code to draw arrows on canvas. @klaus has provided a basic technique that I also use: define the set of points on the arrow as a path and then draw the path. https://www.b4x.com/android/forum/threads/draw-broken-line-arrow-head.43450/post-264259 I finally decided to write a more general class to do this job. It is a cross-platform design. It is small, about 120..., you can get the bitmap from the canvas. 132973... B4A Question [Solved] OutOfMemoryError with canvas - angel_    Jan 18, 2021 .b4a.objects.drawable.CanvasWrapper.Initialize(CanvasWrapper.java:81) at anywheresoftware... B4i Tutorial Bouncing smilay - Drawing with Canvas - Erel    Oct 27, 2014   (6 reactions) A Canvas object allows you to draw over a view. Canvas.Initialize expects a single parameter which.... The drawings will only be applied when you call Canvas.Refresh. If the target view changes its size then you need to initialize the Canvas object again. This usually happens in Page_Resize event. In this example we use two different canvas objects. cvsBackground is used to fill the root panel with a gradient. Canvas1 draws over Panel1 which is a transparent panel. The smiley is drawn with Canvas1... 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 SizeToFit works I think. Thanks FBP... B4A Question Wordwrap to a canvas - B4AinNY    Oct 5, 2016 Hi, I'm trying to find a way to print some long string on a canvas with wordwrapping. Eventually I'll be sending this canvas to a standard 8.5 x 11 inch printer. I have seen the post https://www.b4x.com/android/forum/threads/draw-multiline-text-on-canvas.42933/ which is great if you know where to put the CRLF, but what if you just have a long string without embedded CRLF. Is there some useful approach someone could suggest. So I have ' Create a bitmap ( bdw ) to draw... B4A Question Help needed. DrawPath object on canvas is covered by Label view - fredo    Nov 16, 2019 BubbleAnkerView End Sub 85575 Unfortunately the canvas-drawn "pointer triangle" is covered... to work with canvas so far, a push in the right direction is needed. ... B4J Library jCanvasExt Extends Canvas methods - klaus    Sep 1, 2020   (15 reactions) This library, with the Class source code, extends the Canvas functionalities. Some time ago I was playing with B4J Canvas with methods not exposed directly to B4J. There was a question in the forum... Screenshot of the demo program. jCanvasExt Author: Klaus CHRISTL (klaus) Version: 1 CanvasExt... Radius For details look here: https://docs.oracle.com/javase/8/javafx/api/javafx/scene/canvas... string Initialize (Canvas As Canvas) As String Initializes the object. IsInitialized As Boolean... Page: 1   2   3   4   5   6   7   |