Skip to content

Interface: MediaPositionCreate ​

Partial position and size of a visual media: a variant of MediaPosition where every field is optional (omitted fields keep their default value).

Properties ​

h? ​

ts
optional h?: number;

Height, in pixels.


w? ​

ts
optional w?: number;

Width, in pixels.


x? ​

ts
optional x?: number;

X coordinate of the top-left corner, in pixels.


y? ​

ts
optional y?: number;

Y coordinate of the top-left corner, in pixels.