AutoMovie API
    Preparing search index...
    • The cell rule: MARGIN of the distance from a value to the nearer edge of the cell of the name nearest it.

      A cell's edge is the midpoint with the neighbouring name. The first and the last name, which have one neighbour, take the same distance on their open side.

      Parameters

      • names: readonly number[]

        The values of an axis's names, in the axis's unit.

      • value: number

        The value.

      Returns number

      The bound, in the axis's unit; 0 when the value lies on or past an edge.