B4J Question Error: Canvas.DrawRect

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.
 
Top