import { fromPoint } from "igniteui-react-core";
/**
 * EventArgs class holding information about the dimensions of a hole in a doughnut chart.
*/
var IgrHoleDimensionsChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgrHoleDimensionsChangedEventArgs() {
        this.mounted = false;
    }
    Object.defineProperty(IgrHoleDimensionsChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    IgrHoleDimensionsChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgrHoleDimensionsChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
        if (this._initializeAdapters) {
            this._initializeAdapters();
        }
    };
    Object.defineProperty(IgrHoleDimensionsChangedEventArgs.prototype, "center", {
        /**
         * The center point of the hole.
        */
        get: function () {
            return fromPoint(this.i.center);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgrHoleDimensionsChangedEventArgs.prototype, "radius", {
        /**
         * The radius of the hole.
        */
        get: function () {
            return this.i.radius;
        },
        enumerable: false,
        configurable: true
    });
    return IgrHoleDimensionsChangedEventArgs;
}());
export { IgrHoleDimensionsChangedEventArgs };
