at

fun Circle.at(point: Point): Circle(source)

Return

a Circle with the same attributes as this, but centered at point.

Parameters

point

to center the returned circle at


fun Rectangle.at(x: Double = this.x, y: Double = this.y): Rectangle(source)

Returns a rectangle with the same width/height but positioned at the given x,y

Return

adjusted Rectangle


infix fun Rectangle.at(position: Point): Rectangle(source)

Returns a rectangle with the same width/height but positioned at the given point

Return

adjusted Rectangle