scaledBy
abstract fun scaledBy(scale: Double, uAnchor: Double = 0.5, vAnchor: Double = 0.5): Scalable1D(source)
Creates a new shape with dimensions scaled by scale.
Parameters
scale
the scale factor
uAnchor
x coordinate of the scaling anchor in u parameter space, default is 0.5 (center)
vAnchor
y coordinate of the scaling anchor in v parameter space, default is 0.5 (center)