MediaAreaCoordinates

class hydrogram.raw.types.MediaAreaCoordinates[source]

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

Constructor of MediaAreaCoordinates.

Details:
  • Layer: 181

  • ID: 3D1EA4E

Parameters:
  • x (float 64-bit) – The abscissa of the rectangle’s center, as a percentage of the media width (0-100).

  • y (float 64-bit) – The ordinate of the rectangle’s center, as a percentage of the media height (0-100).

  • w (float 64-bit) – The width of the rectangle, as a percentage of the media width (0-100).

  • h (float 64-bit) – The height of the rectangle, as a percentage of the media height (0-100).

  • rotation (float 64-bit) – Clockwise rotation angle of the rectangle, in degrees (0-360).