Skip to main content

Interface: BoundingRect

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:394

Bounding rectangle coordinates for highlight positioning. All values stored as strings to preserve floating-point precision since ATProto only supports integer type.

Properties​

$type?​

optional $type: "pub.chive.annotation.listForEprint#boundingRect"

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:395


height​

height: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:407

Page height reference (as string to preserve float precision)


pageNumber​

pageNumber: number

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:409

1-indexed page number for the bounding rectangle


width​

width: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:405

Page width reference (as string to preserve float precision)


x1​

x1: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:397

Left edge coordinate (as string to preserve float precision)


x2​

x2: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:401

Right edge coordinate (as string to preserve float precision)


y1​

y1: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:399

Top edge coordinate (as string to preserve float precision)


y2​

y2: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:403

Bottom edge coordinate (as string to preserve float precision)