RoundedRectangle

data class RoundedRectangle(val corner: Vector2, val width: Double, val height: Double, val radius: Double)(source)

Constructors

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

Link copied to clipboard
val center: Vector2

the center of the rounded rectangle

Link copied to clipboard
val contour: ShapeContour

ShapeContour representation of the rounded rectangle

Link copied to clipboard
val corner: Vector2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val shape: Shape
Link copied to clipboard
Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double