interface StoryAreaPosition

Describes the position of a clickable area within a story.

Properties

The abscissa of the area's center, as a percentage of the media width

The ordinate of the area's center, as a percentage of the media height

The width of the area's rectangle, as a percentage of the media width

The height of the area's rectangle, as a percentage of the media height

The clockwise rotation angle of the rectangle, in degrees; 0-360

The radius of the rectangle corner rounding, as a percentage of the media width

Usage

import { type StoryAreaPosition } from "types";