DbSchema
Toggle table of contents
9.9.4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
DbSchema
DbSchema
/
com.wisecoders.dbs.diagram.model
/
Rect
Rect
class
Rect
(
var
x
:
Double
=
0.0
,
var
y
:
Double
=
0.0
,
var
width
:
Double
=
0.0
,
var
height
:
Double
=
0.0
)
Members
Constructors
Rect
Link copied to clipboard
constructor
(
x
:
Double
=
0.0
,
y
:
Double
=
0.0
,
width
:
Double
=
0.0
,
height
:
Double
=
0.0
)
constructor
(
other
:
Rect
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
center
X
Link copied to clipboard
val
centerX
:
Double
center
Y
Link copied to clipboard
val
centerY
:
Double
height
Link copied to clipboard
var
height
:
Double
height
Int
Link copied to clipboard
val
heightInt
:
Int
width
Link copied to clipboard
var
width
:
Double
width
Int
Link copied to clipboard
val
widthInt
:
Int
x
Link copied to clipboard
var
x
:
Double
x
Int
Link copied to clipboard
val
xInt
:
Int
y
Link copied to clipboard
var
y
:
Double
y
Int
Link copied to clipboard
val
yInt
:
Int
Functions
add
Link copied to clipboard
fun
add
(
r
:
Rect
)
contains
Link copied to clipboard
fun
contains
(
p
:
Point
)
:
Boolean
fun
contains
(
p
:
Rect
)
:
Boolean
fun
contains
(
x
:
Double
,
y
:
Double
)
:
Boolean
fun
contains
(
X
:
Double
,
Y
:
Double
,
W
:
Double
,
H
:
Double
)
:
Boolean
distance
Link copied to clipboard
fun
distance
(
other
:
Rect
)
:
Double
grow
Link copied to clipboard
fun
grow
(
h
:
Double
,
v
:
Double
)
inside
Link copied to clipboard
fun
inside
(
X
:
Double
,
Y
:
Double
)
:
Boolean
intersection
Link copied to clipboard
fun
intersection
(
r
:
Rect
)
:
Rect
intersects
Link copied to clipboard
fun
intersects
(
other
:
Rect
)
:
Boolean
fun
intersects
(
rx
:
Double
,
ry
:
Double
,
rw
:
Double
,
rh
:
Double
)
:
Boolean
intersects
Y
Link copied to clipboard
fun
intersectsY
(
ry
:
Double
,
rh
:
Double
)
:
Boolean
position
On
Cell
Link copied to clipboard
fun
positionOnCell
(
cellSize
:
Double
)
set
Bounds
Link copied to clipboard
fun
setBounds
(
other
:
Rect
)
fun
setBounds
(
x
:
Double
,
y
:
Double
,
width
:
Double
,
height
:
Double
)
set
Location
Link copied to clipboard
fun
setLocation
(
x
:
Double
,
y
:
Double
)
set
Size
Link copied to clipboard
fun
setSize
(
width
:
Double
,
height
:
Double
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
translate
Link copied to clipboard
fun
translate
(
dx
:
Double
,
dy
:
Double
)