orx
Toggle table of contents
0.5.0-dev.28+293aff4
common
Target filter
common
Switch theme
Search in API
Skip to content
orx
orx-shapes
/
org.openrndr.extra.shapes.primitives
/
RoundedRectangle
Rounded
Rectangle
@
JvmRecord
data
class
RoundedRectangle
(
val
corner
:
Vector2
,
val
width
:
Double
,
val
height
:
Double
,
val
radius
:
Double
)
(
source
)
Members
Constructors
Rounded
Rectangle
Link copied to clipboard
constructor
(
corner
:
Vector2
,
width
:
Double
,
height
:
Double
,
radius
:
Double
)
constructor
(
x
:
Double
,
y
:
Double
,
width
:
Double
,
height
:
Double
,
radius
:
Double
)
constructor
(
rectangle
:
Rectangle
,
radius
:
Double
)
Properties
center
Link copied to clipboard
val
center
:
Vector2
the center of the rounded rectangle
contour
Link copied to clipboard
val
contour
:
ShapeContour
ShapeContour
representation of the rounded rectangle
corner
Link copied to clipboard
val
corner
:
Vector2
height
Link copied to clipboard
val
height
:
Double
radius
Link copied to clipboard
val
radius
:
Double
shape
Link copied to clipboard
val
shape
:
Shape
width
Link copied to clipboard
val
width
:
Double
x
Link copied to clipboard
val
x
:
Double
y
Link copied to clipboard
val
y
:
Double