Link Search Menu Expand Document

Constructor: mediaAreaCoordinates

Back to constructors index

Coordinates and size of a clicable rectangular area on top of a story.

Attributes:

NameTypeRequiredDescription
xdoubleYesThe abscissa of the rectangle’s center, as a percentage of the media width (0-100).
ydoubleYesThe ordinate of the rectangle’s center, as a percentage of the media height (0-100).
wdoubleYesThe width of the rectangle, as a percentage of the media width (0-100).
hdoubleYesThe height of the rectangle, as a percentage of the media height (0-100).
rotationdoubleYesClockwise rotation angle of the rectangle, in degrees (0-360).

Type: MediaAreaCoordinates

Example:

$mediaAreaCoordinates = ['_' => 'mediaAreaCoordinates', 'x' => double, 'y' => double, 'w' => double, 'h' => double, 'rotation' => double];