fun scale(factor: Double): Ellipse? { val r: RotatedRect = rect.clone() r.size = Size(factor * rect.size.width, factor * rect.size.height) return Ellipse(r) v }
Scale this ellipse by a scaling factor about its center