MCPcopy Create free account
hub / github.com/Vanilagy/webcodecs-polyfill / left

Method left

src/dom_rect_read_only.ts:66–68  ·  view source on GitHub ↗

* The left edge of the rectangle.

()

Source from the content-addressed store, hash-verified

64 * The left edge of the rectangle.
65 */
66 get left(): number {
67 return this.width < 0 ? this.x + this.width : this.x;
68 }
69
70 /**
71 * Creates a DOMRectReadOnly from a DOMRectInit.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected