Crop interface
A region of a picture in texture UV, y up: `texture uv = box uv * size + xy`.
import type { Crop } from '@dioramajs/diorama/effects'interface CropMembers
| Name | Type | Description |
|---|---|---|
readonly height | number | Height in texture UV. |
readonly width | number | Width in texture UV. |
readonly x | number | Left edge in texture UV. |
readonly y | number | Bottom edge in texture UV. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.