computeBobY

Computes the vertical position below a row for the bob plugin

import { computeBobY } from "@roku-sdk/flex-grid/bob-in-the-middle";
computeBobY(row: number, getRowY: (r: number) => number, getRowHeight: (r: number) => number, offset: number): number

Deprecated.

Bob geometry is managed by the bob plugin. Will be removed from the public exports in the next major version.

Description

Computes the vertical position below a row for the bob plugin.

Parameters

NameTypeDescription
rownumber
getRowY(r: number) => number
getRowHeight(r: number) => number
offsetnumber

Return values

Returns number.


What’s Next

Did this page help you?