/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Properties
 */
import { IModelApp } from "../IModelApp";
import { QuantityType } from "../quantity-formatting/QuantityFormatter";
import { FormattedQuantityDescription } from "./FormattedQuantityDescription";
/**
 * Angle Property Description
 * @beta
 */
export class AngleDescription extends FormattedQuantityDescription {
    constructor(name, displayLabel, iconSpec) {
        const defaultName = "angle";
        super(name ? name : defaultName, displayLabel ? displayLabel : IModelApp.localization.getLocalizedString("iModelJs:Properties.Angle"), iconSpec);
    }
    get formatterQuantityType() { return QuantityType.Angle; }
    get quantityType() { return "Angle"; }
    get parseError() { return IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
}
//# sourceMappingURL=AngleDescription.js.map