rotate

abstract fun rotate(angle: <Error class: unknown class><T>): Shape<T>

Returns this shape rotated by given angle around origin point.


abstract fun rotate(angle: <Error class: unknown class><T>, pivot: <Error class: unknown class><T>): Shape<T>

Returns this shape rotated by given angle around given pivot point.