Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
view
/
com.monkopedia.kodemirror.view
/
Rect
Rect
data
class
Rect
(
val
left
:
Float
,
val
top
:
Float
,
val
right
:
Float
,
val
bottom
:
Float
)
A simple axis-aligned rectangle used for coordinate results.
Members
Constructors
Rect
Link copied to clipboard
constructor
(
left
:
Float
,
top
:
Float
,
right
:
Float
,
bottom
:
Float
)
Properties
bottom
Link copied to clipboard
val
bottom
:
Float
center
X
Link copied to clipboard
val
centerX
:
Float
center
Y
Link copied to clipboard
val
centerY
:
Float
height
Link copied to clipboard
val
height
:
Float
left
Link copied to clipboard
val
left
:
Float
right
Link copied to clipboard
val
right
:
Float
top
Link copied to clipboard
val
top
:
Float
width
Link copied to clipboard
val
width
:
Float