v2026.2.1
All Bundles

Rect

OpenCV rectangle

Inherits: Point

Operations

GetHeight

Get height

method : public : GetHeight() ~ Int

Return

TypeDescription
Intheight

GetWidth

Get width

method : public : GetWidth() ~ Int

Return

TypeDescription
Intwidth

New

Constructor

New(x:Int, y:Int, width:Int, height:Int)

Parameters

NameTypeDescription
xIntx-position
yInty-position
widthIntwidth
heightIntheight

ToJson

JSON representation

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON representation