An interface describing anchor coordinates.

interface IAnchor {
    bottom: number;
    left: number;
    right: number;
    top: number;
}

Hierarchy

  • Pick<DOMRect, "left" | "right" | "top" | "bottom">
    • IAnchor

Properties

Properties

bottom: number

The bottom read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect.

MDN Reference

left: number

The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect.

MDN Reference

right: number

The right read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect.

MDN Reference

top: number

The top read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect.

MDN Reference