Mahmoo
10/03/2023, 8:43 AMMahmoo
10/03/2023, 8:43 AMMahmoo
10/03/2023, 8:44 AMKirill Grouchnikov
10/03/2023, 11:19 AMsize
from which you can get current width and heightMahmoo
10/03/2023, 2:34 PMMahmoo
10/03/2023, 2:34 PMKirill Grouchnikov
10/03/2023, 2:36 PMKirill Grouchnikov
10/03/2023, 2:37 PMdp
units and another (canvas) in pixelsMahmoo
10/03/2023, 2:37 PMMahmoo
10/03/2023, 2:39 PMKirill Grouchnikov
10/03/2023, 2:40 PMdp
unitsMahmoo
10/03/2023, 2:41 PMval canvasHeight = size.height.toDp().value
The height of canvas is coming out to be proper for the calculations that I need... Thanks🙌