// #region Imports
import { GridLength } from './GridLength';
/**
 * The `RowDefinition` class.
 *
 * @public
 */
export class RowDefinition {
    // #region Fields
    _height;
    _minHeight;
    _maxHeight;
    // #endregion
    // #region Ctor
    /**
     * Constructs a new instance of the `RowDefinition` class.
     *
     * @public
     */
    constructor(height = new GridLength(1, 'star'), minHeight = 0, maxHeight = Number.MAX_SAFE_INTEGER) {
        this._height = height instanceof GridLength ? height : new GridLength(height.value, height.type);
        this._minHeight = minHeight;
        this._maxHeight = maxHeight;
    }
    // #endregion
    // #region Properties
    /**
     * Gets or sets the `height` property.
     *
     * @public
     */
    get height() {
        return this._height;
    }
    set height(value) {
        this._height = value;
    }
    /**
     * Gets or sets the `minHeight` property.
     *
     * @public
     */
    get minHeight() {
        return this._minHeight;
    }
    set minHeight(value) {
        this._minHeight = value;
    }
    /**
     * Gets or sets the `maxHeight` property.
     *
     * @public
     */
    get maxHeight() {
        return this._maxHeight;
    }
    set maxHeight(value) {
        this._maxHeight = value;
    }
}
//# sourceMappingURL=RowDefinition.js.map