scaledTo

abstract fun scaledTo(size: Double): Scalable1D(source)

Creates a new shape at the same position with the given dimension, scaled uniformly.