# floorOf

function in `@dioramajs/media/reflection`

```ts
import { floorOf } from '@dioramajs/media/reflection'
```

Where the row at `share` of a picture's height (from its top) lands in the box, as box UV with
y up, under the element's object-fit and object-position. Clamped to the box.

```ts
function floorOf(
  options: FitOptions,
  natural: readonly [number, number],
  box: readonly [number, number],
  share: number,
): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `options` | `FitOptions` |  |
| `natural` | `readonly [number, number]` |  |
| `box` | `readonly [number, number]` |  |
| `share` | `number` |  |

Defined in [packages/media/src/reflection.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/reflection.ts#L63).
