Raw.MediaAreaCoordinates
Coordinates and size of a clicable rectangular area on top of a story.
mediaAreaCoordinates#cfc9e002 flags:# x:double y:double w:double h:double rotation:double radius:flags.0?double = MediaAreaCoordinates;
export namespace Raw {
export class MediaAreaCoordinates {
constructor(params: {
x: number;
y: number;
w: number;
h: number;
rotation: number;
radius?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xcfc9e002
Property
x
: numberThe abscissa of the rectangle’s center, as a percentage of the media width (0-100).
y
: numberThe ordinate of the rectangle’s center, as a percentage of the media height (0-100).
w
: numberThe width of the rectangle, as a percentage of the media width (0-100).
h
: numberThe height of the rectangle, as a percentage of the media height (0-100).
rotation
: numberClockwise rotation angle of the rectangle, in degrees (0-360).
radius
: number or undefined