Constructor: mediaAreaCoordinates
Coordinates and size of a clicable rectangular area on top of a story.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
x | double | Yes | The abscissa of the rectangle’s center, as a percentage of the media width (0-100). |
y | double | Yes | The ordinate of the rectangle’s center, as a percentage of the media height (0-100). |
w | double | Yes | The width of the rectangle, as a percentage of the media width (0-100). |
h | double | Yes | The height of the rectangle, as a percentage of the media height (0-100). |
rotation | double | Yes | Clockwise rotation angle of the rectangle, in degrees (0-360). |
radius | double | Optional |
Type: MediaAreaCoordinates
Example:
$mediaAreaCoordinates = ['_' => 'mediaAreaCoordinates', 'x' => double, 'y' => double, 'w' => double, 'h' => double, 'rotation' => double, 'radius' => double];