scaledBy
abstract fun scaledBy(xScale: Double, yScale: Double, uAnchor: Double = 0.5, vAnchor: Double = 0.5): Scalable2D(source)
Creates a new shape with dimensions scaled by xScale and yScale.
Parameters
xScale
the x scale factor
yScale
the y 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)