* 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.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected