scaledTo

abstract fun scaledTo(width: Double, height: Double): Scalable2D(source)

Creates a new shape at the same position with the given dimensions.