B4A Question CreateRoundRectBitmap and ImageDownloader - MarcoRome    Jan 20, 2020 .
I would like to use the CreateRoundRectBitmap ( https://www.b4x.com/android/forum/pages/results/?query=CreateRoundRectBitmap ), if I upload files locally from the device everything works.
Sub....SetBitmap(CreateRoundBitmap(img, ImageView1.Width))
Return p
End Sub
But how to use the same to... B4A Code Snippet [B4X] [XUI] Rectangle image with rounded corners - Erel    Nov 19, 2017   (14 reactions) CreateRoundRectBitmap (Input As B4XBitmap, Radius As Float) As B4XBitmap
Dim BorderColor As Int....SetBitmap(CreateRoundRectBitmap(img, 20dip)) 'ImageView1 type is set to B4XView
... B4A Question make returned image circled - Brandsum (first post)    Mar 5, 2019 Where did you use CreateRoundRectBitmap ?
Check this https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/... B4A Question Radius for Imageview - TILogistic (first post)    Feb 1, 2022 .Width, ImageView1.Height, True) ImageView1.SetBitmap(CreateRoundRectBitmap(img, 20dip)) Public Sub CreateRoundRectBitmap (Input As B4XBitmap, Radius As Float) As B4XBitmap Dim BorderColor...) c.Initialize(xview) Dim path As B4XPath path.InitializeRoundedRect(c.TargetRect, Radius... - BorderWidth, c.TargetRect.Height - BorderWidth) path.InitializeRoundedRect(r, Radius - 0.7... res As B4XBitmap = c.CreateBitmap c.Release Return res End Sub 125026 See: https://www... B4A Question Suggestions for loading images without blocking UI? - Brandsum (first post)    Jun 23, 2019 That createroundrectbitmap is taking the time to edit all the images before loading it to view. You can use a different thread to edit your image or you can use a panel over the imageview and set... B4A Question Create a round image from imagedownloader service - lucasheer (first post)    Aug 26, 2019 Since the imagedownloader doesn't directly give you the bitmap, just call the CreateRoundRectBitmap method on the ImageView's bitmap afterwards:
Dim myImage As ImageView = roundedImageView
links.Put(myImage, "http://www.b4x.com/basic4android/images/SS-2012-08-29_12.55.42.png")
myImage.Bitmap = CreateRoundBitmap(myImage.Bitmap, 40dip)... B4A Question XUI Image Slider FillImageToView - Erel (first post)    Apr 12, 2020   (1 reaction) "Fit" is already implemented in your code on this line: x = x.Resize(ImageSlider1.WindowBase.Width, ImageSlider1.WindowBase.Height, True) This will return a round rect image though this doesn't look very good with wide images: Return CreateRoundRectBitmap(x, 25dip) Might be better to use this one: https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/... B4A Question Creating a transparent overlay with rounded corners - Martin Larsen    Jan 13, 2020 create and takes a bit trial and error, so how do I create this programmatically? My guess is that a modified version of CreateRoundRectBitmap should be able to do it....As stated in this post I need to make an image slider with rounded corners. That catch is that there are some rotated and shaded labels over the images and these should have round corners as well. On this sceendump the label corners are not rounded because only the images themselves are rounded... B4A Code Snippet [B4X] Custom GoogleMaps - MarcoRome    Jul 17, 2020   (9 reactions)
Return res
End Sub
Sub CreateRoundRectBitmap (Input As B4XBitmap, Radius As Float...)
Dim photo As ImageView
photo.Initialize("")
photo.Bitmap = CreateRoundRectBitmap...
End Sub
Sub CreateRoundBitmap (Input As B4XBitmap, Size As Int) As B4XBitmap
If Input.Width... B4A Question PreoptimizedCLV items scroll issue - Kasun Kanchana (first post)    Jun 27, 2023 ) img_recipe_item_recipe_image.SetBitmap(CreateRoundRectBitmap(LoadBitmapResize(File.DirAssets,"photo-1546069901...) If j.Success Then img.SetBitmap(CreateRoundRectBitmap(j.GetBitmap.Resize(img.Width...I forgot to add that part. Sub recipe_item2 (clv As CustomListView,width As Int,height As Int, r As recipes, user_name As String, user_image As String, rating As Double, comments As Int, category As String) As Panel Dim pnl As B4XView=xui.CreatePanel("") pnl.SetLayoutAnimated(0,0... Page: 1   2   3   4   5   6   7   |