withTransformation

abstract fun withTransformation(    translation: () -> <Error class: unknown class> = { Vec2.nullVector },     rotation: () -> <Error class: unknown class> = { Angle.nullAngle },     scale: () -> <Error class: unknown class> = { Vec2(x = 1f, y = 1f) },     init: HudElementsBuilder.() -> Unit): TransformationWrapper

Transforms an element defined in the init block.