Whether this wrapper still refers to a live engine object.
The index of the paragraph that carries this image.
The image's text-wrap mode, read live from the model.
Whether the image has a laid-out rect (false in a layout-less / headless host).
Reference equality is the identity test — prefer a === b. This is retained only for
the rare cross-realm case where two wrappers describe the same handle by value. Reads the
raw index so comparing a stale wrapper never throws.
A readable identity for logs and diagnostics, never [object Object].
The image's resolved on-screen rect [x, y, width, height] in CSS pixels, read live.
Needs a layout (the live GPU path); a headless host fills zeros. Pass out to avoid the
allocation.
The image's resolved on-screen rect [x, y, width, height] in CSS pixels, read live.
Needs a layout (the live GPU path); a headless host fills zeros. Pass out to avoid the
allocation.
Set the text-wrap mode for the image.
Float the image at the given position and size, in pixels.
An inline image, addressed by the index of the paragraph that carries it. Its text-wrap mode and its resolved on-screen rect are read live from the model; wrap mode and floating position are set through the mutators. The image's encoded bytes are added with Document.importImage.