frame
The requested layout rectangle, in pixels.
For children, a non-positive width or height uses the available parent dimension minus margins, adjusted by that value. Assign a new rectangle or call invalidateLayout after mutating the existing rectangle.