import { fromPoint } from "igniteui-angular-core";
/**
 * EventArgs class holding information about the dimensions of a hole in a doughnut chart.
*/
var IgxHoleDimensionsChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgxHoleDimensionsChangedEventArgs() {
    }
    Object.defineProperty(IgxHoleDimensionsChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    IgxHoleDimensionsChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgxHoleDimensionsChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgxHoleDimensionsChangedEventArgs.prototype, "center", {
        /**
         * The center point of the hole.
        */
        get: function () {
            return fromPoint(this.i.center);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxHoleDimensionsChangedEventArgs.prototype, "radius", {
        /**
         * The radius of the hole.
        */
        get: function () {
            return this.i.radius;
        },
        enumerable: false,
        configurable: true
    });
    return IgxHoleDimensionsChangedEventArgs;
}());
export { IgxHoleDimensionsChangedEventArgs };
//# sourceMappingURL=igx-hole-dimensions-changed-event-args.js.map
