Hi,
got a little problem with the Rect in Canvasdrawing.
SampleCode:
When in debugging mode and I hover with the mouse over the HelpRect, I can see that the Values are (18,22,100,120) what gives me some problems in drawing because it causes gaps.
Is the rect only able to save the values as int? Is there another solution for it or did I have do change all my float-vars into int-vars? If so I had to change most of my current code :/
Can anybody give me a solution for my problem?
got a little problem with the Rect in Canvasdrawing.
SampleCode:
B4X:
dim a,b,c,d as float
a = 18.75
b = 22.75
c = 100
d = 120
dim HelpRect as Rect
Helprect.initialize(a,b,c,d)
When in debugging mode and I hover with the mouse over the HelpRect, I can see that the Values are (18,22,100,120) what gives me some problems in drawing because it causes gaps.
Is the rect only able to save the values as int? Is there another solution for it or did I have do change all my float-vars into int-vars? If so I had to change most of my current code :/
Can anybody give me a solution for my problem?