DrawnBox interface
What the copy showed in its last drawn frame, in viewport CSS px.
import type { DrawnBox } from '@dioramajs/diorama/effects'interface DrawnBox extends BoxMembers
| Name | Type | Description |
|---|---|---|
readonly clip? | Box | Box it was clipped to (clipping ancestor or the |
readonly height | number | Height, CSS px. |
readonly opacity | number | Alpha it was drawn with. |
readonly radius | number | border-radius in px, largest corner. |
readonly width | number | Width, CSS px. |
readonly x | number | Viewport x, CSS px. |
readonly y | number | Viewport y, CSS px. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.