kobweb
Toggle table of contents
0.21.1
js
Platform filter
js
Switch theme
Search in API
kobweb
silk-foundation
/
com.varabyte.kobweb.silk.theme.shapes
/
Rect
Rect
class
Rect
(
val
topLeft
:
Pair
<
Int
,
Int
>
,
val
botRight
:
Pair
<
Int
,
Int
>
,
val
cornerRadius
:
CSSLengthOrPercentageNumericValue
=
0.px
)
:
Shape
(
source
)
Members
Constructors
Rect
Link copied to clipboard
constructor
(
)
constructor
(
cornerRadius
:
CSSLengthOrPercentageNumericValue
)
constructor
(
topBottom
:
Int
,
leftRight
:
Int
,
cornerRadius
:
CSSLengthOrPercentageNumericValue
=
0.px
)
constructor
(
side
:
Int
,
cornerRadius
:
CSSLengthOrPercentageNumericValue
=
0.px
)
constructor
(
topLeft
:
Pair
<
Int
,
Int
>
,
botRight
:
Pair
<
Int
,
Int
>
,
cornerRadius
:
CSSLengthOrPercentageNumericValue
=
0.px
)
Properties
bot
Right
Link copied to clipboard
val
botRight
:
Pair
<
Int
,
Int
>
corner
Radius
Link copied to clipboard
val
cornerRadius
:
CSSLengthOrPercentageNumericValue
path
Link copied to clipboard
open
override
val
path
:
Path
?
top
Left
Link copied to clipboard
val
topLeft
:
Pair
<
Int
,
Int
>