drawRectangle

external fun drawRectangle(left: Float, top: Float, right: Float, bottom: Float, color: Int = 0, filled: Boolean = false, thickness: Float = 1.0f)

Draws a rectangle.

Parameters

left

Left point of the shape.

top

Top point of the shape.

right

Right point of the shape.

bottom

Bottom point of the shape.

color

Color of the shape.

filled

Will be filled with color.

thickness

Thickness of the shape.