var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import { AcEdPromptOptions } from './AcEdPromptOptions';
/**
 * Represents prompt options for selecting a rectangular box (two corners).
 */
var AcEdPromptBoxOptions = /** @class */ (function (_super) {
    __extends(AcEdPromptBoxOptions, _super);
    function AcEdPromptBoxOptions(firstCornerMessage, secondCornerMessage) {
        var _this = _super.call(this, firstCornerMessage) || this;
        _this._useBasePoint = false;
        _this._useDashedLine = false;
        _this._secondCornerMessage = secondCornerMessage;
        return _this;
    }
    Object.defineProperty(AcEdPromptBoxOptions.prototype, "firstCornerMessage", {
        get: function () {
            return this.message;
        },
        set: function (value) {
            if (!this.isReadOnly) {
                this.message = value;
            }
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(AcEdPromptBoxOptions.prototype, "secondCornerMessage", {
        get: function () {
            return this._secondCornerMessage;
        },
        set: function (value) {
            if (!this.isReadOnly) {
                this._secondCornerMessage = value;
            }
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(AcEdPromptBoxOptions.prototype, "useBasePoint", {
        get: function () {
            return this._useBasePoint;
        },
        set: function (flag) {
            if (!this.isReadOnly) {
                this._useBasePoint = flag;
            }
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(AcEdPromptBoxOptions.prototype, "useDashedLine", {
        get: function () {
            return this._useDashedLine;
        },
        set: function (flag) {
            if (!this.isReadOnly) {
                this._useDashedLine = flag;
            }
        },
        enumerable: false,
        configurable: true
    });
    return AcEdPromptBoxOptions;
}(AcEdPromptOptions));
export { AcEdPromptBoxOptions };
//# sourceMappingURL=AcEdPromptBoxOptions.js.map