On this page

Type Alias Offset

Offset: number | PointLike | { [_ in PositionAnchor]: PointLike }

A pixel offset specified as:

  • A single number specifying a distance from the location
  • A PointLike specifying a constant offset
  • An object of PointLikes specifying an offset for each anchor position

Negative offsets indicate left and up.

Was this helpful?
SDK JS
Reference
Offset