Lieutenant-AMD Member Mar 31, 2019 #1 B4X: Canvas.DrawRect(0, 0, 40, 100, fx.Colors.Red, True, False) send : Could not cast type: {Type = Boolean, Rank = 0, RemoteObject = True} to: number.
B4X: Canvas.DrawRect(0, 0, 40, 100, fx.Colors.Red, True, False) send : Could not cast type: {Type = Boolean, Rank = 0, RemoteObject = True} to: number.
Erel B4X founder Staff member Licensed User Longtime User Mar 31, 2019 #2 Last parameter should be a number: https://www.b4x.com/android/forum/pages/results/?query=Canvas.DrawRect&product=b4j It is the stroke width. Upvote 0
Last parameter should be a number: https://www.b4x.com/android/forum/pages/results/?query=Canvas.DrawRect&product=b4j It is the stroke width.