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