register

fun register(target: ScreenObject, position: PointF? = null)

Registers an object at the front of the editable drawing order. Optionally centers its requested size at position, clamping its position inside the composition. Auto-sized dimensions retain their automatic layout behavior. Duplicate registrations are ignored.