rect
Fills a rectangle.
Parameters
rectangle
to draw
fill
to fill with
Fills and outlines a rectangle.
Parameters
rectangle
to draw
stroke
to outline with
fill
to fill with
Fills a rounded rectangle.
Parameters
rectangle
to draw
radius
for corners
fill
to fill with
abstract fun rect(rectangle: Rectangle, radius: Double, stroke: Stroke, fill: Paint? = null)(source)
Fills and outlines a rounded rectangle.
Parameters
rectangle
to draw
radius
for corners
stroke
to outline with
fill
to fill with