Vivek Sharma
03/04/2021, 5:08 PMsize of custom width or height
in Canvas
, while drawing Rect
I am hacking it like taking whole canvas size using size
which gives me Canvas size and then doing size.copy(customWidth, customHeight)
prev there was Size() function but cant access it now?
how can I make size of custom width or height?Se7eN
03/04/2021, 5:35 PMSize()
in beta01
. The import is import androidx.compose.ui.geometry.Size
Vivek Sharma
03/04/2021, 5:42 PMSize
, but only Class
, not function where I can pass width and height, but there is functionSe7eN
03/04/2021, 6:26 PMVivek Sharma
03/04/2021, 6:26 PMSe7eN
03/04/2021, 6:27 PMVivek Sharma
03/04/2021, 6:30 PMCompose/Android things
thanks