import { IgxAxisComponent } from "./igx-axis-component";
import { fromPoint, toPoint } from "igniteui-angular-core";
export class IgxAxisMouseEventArgs {
    constructor() {
    }
    /**
     * @hidden
     */
    get i() {
        return this._implementation;
    }
    onImplementationCreated() {
    }
    _provideImplementation(i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    get axis() {
        const r = this.i.a;
        if (r == null) {
            return null;
        }
        if (!r.externalObject) {
            let e = IgxAxisComponent._createFromInternal(r);
            if (e) {
                e._implementation = r;
            }
            r.externalObject = e;
        }
        return r.externalObject;
    }
    set axis(v) {
        v == null ? this.i.a = null : this.i.a = v.i;
    }
    get axisValue() {
        return this.i.c;
    }
    set axisValue(v) {
        this.i.c = +v;
    }
    get axisDateValue() {
        return this.i.b;
    }
    set axisDateValue(v) {
        this.i.b = v;
    }
    get mouseCoords() {
        return fromPoint(this.i.f);
    }
    set mouseCoords(v) {
        this.i.f = toPoint(v);
    }
    get worldCoords() {
        return fromPoint(this.i.g);
    }
    set worldCoords(v) {
        this.i.g = toPoint(v);
    }
    get label() {
        return this.i.e;
    }
    set label(v) {
        this.i.e = v;
    }
    get labelContext() {
        return this.i.d;
    }
    set labelContext(v) {
        this.i.d = v;
    }
}
