Class: Kreuzberg::DocumentBoundingBox

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/kreuzberg/types.rb

Overview

Bounding box for document node positioning.

Represents rectangular coordinates for a node within the document.

Examples:

bbox = Kreuzberg::DocumentBoundingBox.new(
  x0: 10.0,
  y0: 20.0,
  x1: 100.0,
  y1: 50.0
)