x property

int get x

The read-only HTMLImageElement property x indicates the x-coordinate of the img element's left border edge relative to the root element's origin.

The x and HTMLImageElement.y properties are only valid for an image if its display property has the computed value table-column or table-column-group. In other words: it has either of those values set explicitly on it, or it has inherited it from a containing element, or by being located within a column described by either col or colgroup.

Implementation

external int get x;