scaledBy

open override fun scaledBy(xScale: Double, yScale: Double, uAnchor: Double, vAnchor: Double): Ellipse(source)

Creates a new Ellipse with the scale specified as multipliers for the current radii.


open override fun scaledBy(scale: Double, uAnchor: Double, vAnchor: Double): Ellipse(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)