linkToDestination

open fun linkToDestination(name: String, x: Float, y: Float, width: Float, height: Float)

Records an internal go-to link covering the given rectangle and jumping to the namedDestination registered under name. Forward references are fine — backends resolve names when the document is finished. Links whose name is never registered are silently inert.