MCPcopy
hub / github.com/mifi/editly / PositionObject

Interface PositionObject

index.d.ts:45–67  ·  view source on GitHub ↗

* An object, where `{ x: 0, y: 0 }` is the upper left corner of the screen and `{ x: 1, y: 1 }` is the lower right corner.

Source from the content-addressed store, hash-verified

43 * An object, where `{ x: 0, y: 0 }` is the upper left corner of the screen and `{ x: 1, y: 1 }` is the lower right corner.
44 */
45 interface PositionObject {
46
47 /**
48 * X-position relative to video width.
49 */
50 x: number;
51
52 /**
53 * Y-position relative to video height.
54 */
55 y: number;
56
57 /**
58 * X-anchor position of the object.
59 */
60 originX?: OriginX;
61
62 /**
63 * Y-anchor position of the object.
64 */
65 originY?: OriginY;
66
67 }
68
69 /**
70 * Certain layers support the position parameter.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected