WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Class IntegerInputOptions

    整数输入选项类

    用于配置 getInteger 函数的行为,包括提示消息、范围限制和默认值。

    const options = new IntegerInputOptions("输入多边形边数:");
    options.defaultValue = 6;
    options.lowerLimit = 3;
    options.upperLimit = 100;
    const result = await getInteger(options);
    Index

    Constructors

    Properties

    message: string

    提示消息,显示在命令行

    keywords: string[]

    可选的关键字列表

    defaultValue: number

    默认值

    lowerLimit: number

    最小值限制

    upperLimit: number

    最大值限制