Skip to content

GenomeSpy Core API / ViewLayoutBounds

Interface: ViewLayoutBounds

Last rendered layout bounds for a view, in CSS pixels.

The coordinate space is the embedded GenomeSpy canvas. Convert these bounds to DOM coordinates in the embedding application when positioning external controls.

Properties

x

x: number

Horizontal position of the view's left edge.


y

y: number

Vertical position of the view's top edge.


width

width: number

View width.


height

height: number

View height.