scale

fun Vec2.scale(polyUI: PolyUI)

Scale this vec2 by any scaling that has been applied to this PolyUI instance.

This method is useful in conjunction with resize operations to ensure that it is scaled to the local coordinate system.

Since

1.2.0

See also