VisibleContentRectData

data class VisibleContentRectData(val clientRect: Rect, val locator: SimpleLocatorData, val nodeData: EngineEventTargetNodeData? = null, val type: VisibleContentRectType)

Contains the position, dimensions, and locator of a line or replaced element.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The rectangle representing a line box or replaced element. Coordinates are in application viewport coordinate space.

Link copied to clipboard

The locator that most closely matches the rectangle.

Link copied to clipboard

A JSON compatible data structure representing the underlying node from where the rectangle was generated, like for example an HTML Element in an HTML content-document.

Link copied to clipboard

Describes if this object represents a LINE_BOX or an ELEMENT. Use nodeData to get more information about the type of Element.