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

    WebCAD-Lib-TS API 文档 - v1.0.0

    webcad-lib-ts SDK

    WebCAD基础绘制库 - TypeScript版本

    本SDK提供CAD绘图功能的核心API,支持二次开发自定义命令。

    本SDK的导出按以下层级组织:

    二次开发命令必须使用的核心API:

    • events - 事件系统(CadEventManager, CadEvents等)
    • input - 用户输入交互(getPoint, getSelections等)
    • entities - CAD实体类(LineEnt, CircleEnt等)
    • geometry - 几何计算(Point2D, BoundingBox等)
    • core - 核心系统(Engine, CadDocument等)
    • enums - 枚举常量
    • commands - 内置命令类

    增强功能的公开API:

    • linetype - 线型定义和管理
    • pattern - 填充图案管理
    • parser - MText格式解析
    • database - 数据序列化
    • geometries - 轻量级几何类
    • utils - 工具函数库

    供有经验的开发者使用:

    • service - 后端服务通信
    • wasm - WebAssembly服务
    • tile - 瓦片地图功能
    • shape - 形状符号渲染
    • unodcmds - 撤销命令实现
    • spatial - 空间索引优化

    框架内部实现,不建议直接使用:

    • rendering - 渲染器实现
    • selector - 实体选择器
    • graphics - 图形绘制
    • ui - UI组件
    • helpers - 内部辅助工具
    • properties - 属性面板内部
    import {
    getPoint,
    PointInputOptions,
    InputStatusEnum,
    ssSetFirst,
    writeMessage,
    LineEnt,
    Point2D,
    Engine
    } from 'webcad-lib-ts';

    export class MyLineCommand {
    async main() {
    ssSetFirst([]);

    const p1Result = await getPoint(new PointInputOptions("指定第一点:"));
    if (p1Result.status !== InputStatusEnum.OK) return;

    const options = new PointInputOptions("指定第二点:");
    options.useBasePoint = true;
    options.basePoint = p1Result.value;

    const p2Result = await getPoint(options);
    if (p2Result.status !== InputStatusEnum.OK) return;

    const line = new LineEnt(p1Result.value, p2Result.value);
    line.setDefaults();
    Engine.pcanvas.addEntity(line);

    writeMessage("<br/>直线已创建。");
    }
    }
    import {
    CadEventManager,
    CadEvents,
    EntityErasingEventArgs
    } from 'webcad-lib-ts';

    // 获取事件管理器实例
    const events = CadEventManager.getInstance();

    // 监听实体删除事件(可取消)
    events.on(CadEvents.EntityErasing, (args: EntityErasingEventArgs) => {
    if (args.entity.layer === "保护图层") {
    args.cancel = true; // 阻止删除
    console.log("保护图层上的实体不允许删除");
    }
    });

    // 监听命令执行事件
    events.on(CadEvents.CommandStarted, (args) => {
    console.log(`命令 ${args.commandName} 开始执行`);
    });

    // 监听文档保存事件
    events.on(CadEvents.DocumentSaved, (args) => {
    console.log(`文档 ${args.document.name} 已保存`);
    });

    // 移除监听器
    const handler = (args) => { console.log(args); };
    events.on(CadEvents.EntityAdded, handler);
    events.off(CadEvents.EntityAdded, handler);

    Enumerations

    ClipMode
    DimensionType
    ZeroSuppressionFlags
    DimensionArrowType
    DimensionTextAlignment
    DimensionTextVerticalPosition
    DimensionUnitFormat
    DimensionAngularFormat
    ArcSymbolType
    DimensionFitMode
    DimensionTextMovementMode
    LeaderType
    MLeaderContentType
    TextAttachmentType
    LeaderDirectionType
    EdgeType
    MTextAttachmentEnum
    CadEvents
    IconCategory
    PluginState
    PluginSourceType
    PluginOrigin
    ReactorEvent
    MapOpenWay
    PathCommandType

    Classes

    AboutCommand
    AlignmentTextCommand
    AngleBlockCommand
    AngleHatchCommand
    AngleTextCommand
    AntiAliasSetvar
    ArcCommand
    BlockCommand
    BoundingBoxCommand
    BoxCommand
    BurstTextCommand
    CLayerSetvar
    CeColorSetvar
    ChangeColorCommand
    ChangeLTypeCommand
    InputNumberDialog
    ChangeLTypeScaleCommand
    LayerSelectionDialog
    ChangeLayerCommand
    ChangeLineWeightDialog
    ChangeLineWeightCommand
    ChangeTranspCommand
    CircleCommand
    CloseCommand
    CloseXCommand
    ContinueDimensionCommand
    ClipboardObj
    CopyBaseCommand
    CopyClipCommand
    CutBaseCommand
    CutClipCommand
    CopyCommand
    CountBlockCommand
    CountTextCommand
    CreateAlignedDimensionCommand
    CreateAngleDimensionCommand
    CreateArcLengthDimensionCommand
    CreateDiametricDimensionCommand
    CreateLinearDimensionCommand
    CreateMLeaderCommand
    CreateOrdinateDimensionCommand
    CreateRadialDimensionCommand
    CutRecCommand
    DLineCommand
    DimStyleCommand
    DistCommand
    DonutCommand
    DotCommand
    DrawOrderBackCommand
    DrawOrderFrontCommand
    EHatchCommand
    EllipseCommand
    EntityStatsCommand
    EraseCommand
    ExecuteJsCommand
    ExecuteStrCommand
    ExplodeCommand
    ExportToDwgCommand
    ExtendCommand
    FilletCommand
    FindReplaceCommand
    FitMapViewCommand
    GetInfoCommand
    GraphicsInfoCommand
    GripCommand
    GroupCommand
    HatchCommand
    HatchMoveCommand
    IdCommand
    ImageAdjustCommand
    ImageClipCommand
    ImageCommand
    ImagePaletteAddCommand
    ImagePaletteInsertCommand
    ImportFromDwgCommand
    InsertCommand
    JustifyTextCommand
    LTScaleSetvar
    LayAllOffCommand
    LayAllOnCommand
    LayCurCommand
    LayDrawBackCommand
    LayDrawFrontCommand
    LayMCurCommand
    LayPickOffCommand
    LayPickOnCommand
    LayRevCommand
    LaySSOffCommand
    LaySSOnCommand
    LayTblColorCommand
    LayerCommand
    LayerPaletteCommand
    LineCommand
    LinearCopyCommand
    LinetypeLoadCommand
    MTextCommand
    MTextEditCommand
    MagTextCommand
    MakeLayerCommand
    MatChPropCommand
    MeasureAngleCommand
    MirrorCommand
    MoveCommand
    NewCommand
    OffsetCommand
    OffsetCurrentCommand
    OffsetDefaultCommand
    OffsetDeleteCommand
    OpenCommand
    OpenFromLocalCommand
    OpenFromServerCommand
    OrthoModeSetvar
    OsModeSetvar
    ParallelogramCommand
    PasteClipCommand
    PatternLoadCommand
    PixelPointCommand
    PlanCommand
    PlineCommand
    PlineJoinCommand
    PlineWidSetvar
    PluginsCommand
    PolarCopyCommand
    PolygonCommand
    PropertiesCommand
    PurgeBlocksCommand
    PurgeImageCommand
    PurgeLayerCommand
    PurgeCommand
    QBlockCommand
    SaveAsDialogComp
    SaveAsCommand
    QSaveCommand
    QuickSelectCommand
    RayCommmand
    RayDCommand
    RayLCommand
    RayRCommand
    RayUCommand
    RectangCommand
    RedoCommand
    RegenAllCommand
    RegenCommand
    RenameBlockCommand
    RenderOriginCommand
    ReplaceBlockCommand
    ResetImageClipCommand
    RotateCommand
    SaveToLocalCommand
    SaveToServerCommand
    ScaleCommand
    SelectAllCommand
    SettingsCommand
    SidebarStyLeft
    SidebarStyNone
    SidebarStyRight
    SidebarStyBoth
    SidebarStySetvar
    SolidCommand
    SplineCommand
    SsAlignCommand
    SsExtendCommand
    SsTrimCommand
    SsSliceCommand
    StatsCommand
    StretchCommand
    InsertSvgCommand
    SwitchWorkspaceCommand
    InsertSymbolCommand
    CreateSymbolCommand
    ManageSymbolCommand
    TextCopyCommand
    TextCommand
    TextEditCommand
    TileAlphaSetvar
    TileEditAreaCommand
    TileEditLayerCommand
    TileMaskAlphaSetvar
    TrimCommand
    Txt2MTxtCommand
    UcsCommand
    UndoCommand
    UngroupCommand
    WblockCommand
    XTextCommand
    XlineCommand
    XxCommand
    YyCommand
    ZoomExtentsCommand
    ZoomFactorSetvar
    CadDocument
    CoordinateSystemType
    CoordinateTransform
    Documents
    Editor
    Engine
    FontLoader
    Initializer
    RenderConfig
    TransparencyManager
    UndoManager
    HatchLoops
    DbEntity
    DbArc
    DbBlock
    DbBlockRef
    DbBlocks
    DbBox
    DbBulgePoint
    DbBulgePoints
    DbCircle
    DbDimLinear
    DbImages
    DbTextStyle
    DbTextStyles
    DbDimStyle
    DbDimStyles
    DbDoc
    DbDocEnv
    DbDotEntity
    DbDText
    DbEdge
    DbEllipse
    DbHatch
    DbImage
    DbLayer
    DbLayers
    DbLayout
    DbLayouts
    DbLine
    DbBackgroundConfig
    DbMText
    DbPadding
    DbPline
    DbPlotConfig
    DbRay
    DbSolid
    DbXline
    DbPoint
    DbPixelPoint
    DbPoint2d
    DbControlPoints
    ControlPoints
    ControlPoint
    DbSpline
    DbSplineControlPoint
    SplineControlPoint
    SplineControlPoints
    SplineFitPoint
    SplineFitPoints
    SplineKnots
    ArcEnt
    BezierEnt
    BlockDefinition
    BlockReference
    Blocks
    BulgePoint
    BulgePoints
    CircleEnt
    CustomEntityBase
    CustomEntityRegistry
    DocEnv
    DotEnt
    Edge
    Edges
    EllipseEnt
    EntityBase
    GroupEnt
    HatchEnt
    HatchPatternConfig
    ImageCollection
    DbImageRef
    ImageRefEnt
    ImageSource
    InsertEnt
    Layer
    LayerReference
    Layers
    Layout
    Layouts
    LineEnt
    MTextEnt
    Padding
    PixelPointEnt
    PlotConfig
    PlotColorStyle
    PlotStyle
    PlotStyles
    PolylineEnt
    RayEnt
    SolidEnt
    SplineEnt
    TextEnt
    TextStyle
    TextStyles
    XLineEnt
    AlignedDimensionEnt
    AngleDimensionEnt
    ArcDimensionEnt
    ArrowRenderer
    DiametricDimensionEnt
    DimensionBase
    DimensionFormatter
    DimensionStyle
    DimensionStyles
    DimensionTextLayout
    LinearDimensionEnt
    MLeaderEnt
    OrdinateDimensionEnt
    RadialDimensionEnt
    ThreePointAngularDimensionEnt
    TwoLineAngularDimensionEnt
    SystemConstants
    CadEventManager
    CadEventEmitter
    GArc
    GBulgePolyline
    GCircle
    GEllipse
    GLine
    GPolyline
    AreaCalculationElement
    AreaCalculationCollection
    BoundingBox
    GeometryCalculator
    Point2D
    ObservablePoint2D
    GridDisplayDraw
    CrosshairCursorDraw
    CoordinateSystemIndicatorDraw
    SquareCursorDraw
    SelectionRectangleDraw
    PlotAreaDraw
    ScaleBarDraw
    MidPointMarker
    CenterMarker
    QuadrantMarker
    CircleMarker
    DiamondMarker
    InsertionMarker
    TangentMarker
    NearestMarker
    OsnapMarkerContainer
    GripMarker
    RotationGripMarker
    MidGripMarker
    TextGripMarker
    EntityBoundsCalculator
    IdMapping
    IconRegistry
    CommandAlias
    CommandAliasManager
    CommandDefinition
    CommandRegistry
    CornerInputHandler
    CornerSelectionHandler
    ImageRef
    GripUtils
    GripEditor
    IntegerInputOptions
    PointInputOptions
    SelectionSetInputOptions
    SelectionInputOptions
    CornerInputOptions
    RealInputOptions
    KeywordInputOptions
    BaseMessage
    StringInputOptions
    CommandOptions
    PointInputResult
    SelectionSetInputResult
    EntityPickResult
    StringResult
    RealResult
    IntegerResult
    KeywordResult
    CommandResult
    InputResult
    PointAndOsnapResult
    IntegerInputHandler
    KeywordInputHandler
    PolarTracking
    PointPrompt
    RealInputHandler
    ScriptExecutor
    ScriptParser
    StringInputHandler
    SystemMessage
    LinetypeElement
    SimpleLinetypeElement
    TextLinetypeElement
    ShapeLinetypeElement
    LinetypeDefinition
    LinetypeManager
    LinetypeParser
    MTextColor
    MTextContext
    TextScanner
    MTextParser
    MTextToken
    PatternManager
    PluginError
    PluginCacheService
    PluginContext
    PluginLoader
    PluginManager
    PluginMarketService
    BaseGraphicsProperties
    ExtendedGraphicsProperties
    ArcCircleProperties
    OtherGraphicsProperties
    TextProperties
    EntityReactorManager
    ReactorEventBridge
    ReactorNotifier
    BucketEntityRenderer
    EntityRenderer
    GraphicsBucket
    GraphicsBucketManager
    EntitySelectionSplitter
    EntitySelector
    SelectionCycler
    SingleEntitySelector
    DrawingManagerService
    FindTextService
    LocalStorageService
    QuickSelectService
    Service
    SettingsCacheService
    GeoBounds
    GeoPoint
    GeoProjection
    ShapeDefinition
    ShapeManager
    ShapeParser
    ShapeRenderer
    SpatialIndexManager
    TileCache
    TileCalculator
    TileScheduler
    WmsTileLayer
    NumberInputComponent
    BranchCreateDialog
    BranchMergeDialog
    CadMapOverlay
    ColorPanelDialog
    ColorDialogOptions
    BlockNameDialog
    HistoryEle
    PromptEle
    CommandLine
    ToolBar
    BottomBar
    ConflictResolutionDialog
    ContextMenuItem
    LayerAlphaCell
    LayerLTScaleCell
    LayerLineweightCell
    LayerPlottableCell
    BaseDialogComponent
    MessageBoxConfig
    MessageBoxComponent
    DimStyleDialog
    DimStyleEditDialog
    DocumentTabItem
    DocumentTabs
    DrawingBrowserDialog
    ServerMapSelectorDialog
    DropEffectComponent
    ButtonEle
    OsnapButton
    GridModeButton
    OrthoModeButton
    PolarModeButton
    ThemeButton
    FuncButtons
    CoordsBar
    ActiveButton
    ExportDwgOptionsDialog
    FileMenuPanel
    ImportDwgOptionsDialog
    InputDialog
    LayerColorCell
    LayerNameCell
    LayerLinetypeCell
    LayerOnCell
    LayerCurrentCell
    LayerLockedCell
    LayerFrozenCell
    LineTypeDialog
    LineTypeDialogOptions
    LayerNameDialog
    LayerTransparencyDialog
    LinetypeEditorDialog
    LinetypeViewerDialog
    LocalDrawingBrowserDialog
    MainView
    ContextMenu
    DynamicMenuPanel
    CreateMenu
    DrawMenu
    ViewMenu
    HelpMenu
    DimMenu
    ToolMenu
    AdvancedEditMenu
    EditMenu
    BasicEditMenu
    InsertMenu
    MeasureMenu
    DrawAdvancedMenu
    PropertyMenu
    AppearanceMenu
    PanelController
    SplitterController
    DocDropDown
    SideBarFrame
    ActivityBar
    AutoComplteRow
    AutoComplete
    SidePalettes
    FilesPalette
    BlocksPalette
    ImagesPalette
    PropertyPalette
    CtbPalette
    DrawSettingsPalette
    CoordsPalette
    CommandListPalette
    AliasListPalette
    PatternEditorDialog
    PatternPickerDialog
    PatternViewerDialog
    PluginManagerDialog
    PreviewView
    RecentCommandsManager
    RibbonBar
    RibbonButton
    RibbonConfigManager
    RibbonGroup
    SaveDrawingDialog
    SettingsDialog
    TileEditLayerDialog
    YesNoDialogConfig
    YesNoDialog
    AddEntitiesUndoCommand
    ArcModifyUndoCommand
    BlockAddUndoCommand
    BlockSortUndoCommand
    BlockRemoveUndoCommand
    BlockModifyUndoCommand
    BlockRedefineUndoCommand
    DrawOrderBackUndoCommand
    DrawOrderFrontUndoCommand
    EndUndoCommand
    EntityColorUndoCommand
    EntityLayerUndoCommand
    EntityLineTypeScaleUndoCommand
    EntityLineTypeUndoCommand
    EntityLineWeightUndoCommand
    EntityTransparencyUndoCommand
    EntityUndoCommand
    EntityModifyUndoCommand
    TextModifyUndoCommand
    CircleModifyUndoCommand
    PolylineModifyUndoCommand
    ImageRefModifyUndoCommand
    ImageSourceAddUndoCommand
    BoxModifyUndoCommand
    ImageSourceRemoveUndoCommand
    XlineModifyUndoCommand
    DimScaleUndoCommand
    LineTypeScaleUndoCommand
    EraseEntitiesUndoCommand
    LayerRemoveUndoCommand
    LayerAddUndoCommand
    LayerSortUndoCommand
    LayerModifyUndoCommand
    LayerReverseUndoCommand
    CurrentLayerUndoCommand
    LineModifyUndoCommand
    MirrorEntitiesUndoCommand
    MoveEntitiesUndoCommand
    PanViewUndoCommand
    PanUndoCommand
    PlanViewUndoCommand
    RayModifyUndoCommand
    RotateEntitiesUndoCommand
    ScaleEntitiesUndoCommand
    StartUndoCommand
    StretchEntitiesUndoCommand
    StretchUndoCommand
    UcsUndoCommand
    UndoCommandBase
    WheelZoomUndoCommand
    ZoomViewUndoCommand
    AttributeTextProcessor
    ColorConverter
    ItemCollection
    GeometryUtils
    LitElement
    WebCadCoreService

    Interfaces

    IExportToDwgDialogConfig
    IVcadEditArea
    IVcadMeta
    IEditAreaBounds
    ILoadEditAreaResult
    ILoadEditAreasResult
    ILoadEditLayersResult
    EntityOperationOptions
    LayerCreateOptions
    LineSegmentInfo
    InitializerOptions
    SnapPointResult
    GripPointResult
    CustomEntityDbData
    PropertyInfo
    FillLoopBounds
    FillLoopData
    AlignedDimensionData
    AngleDimensionData
    ArcDimensionData
    ArrowRenderConfig
    ArrowRenderResult
    DiametricDimensionData
    DimensionBaseData
    FormatConfig
    AngularFormatConfig
    ToleranceConfig
    DimensionStyleData
    TextPositionConfig
    TextLayoutResult
    FitDecision
    LinearDimensionData
    LeaderLineData
    LeaderData
    MLeaderData
    OrdinateDimensionData
    RadialDimensionData
    ThreePointAngularDimensionData
    TwoLineAngularDimensionData
    CadEventArgs
    CancellableEventArgs
    DocumentCreatingEventArgs
    DocumentCreatedEventArgs
    DocumentOpeningEventArgs
    DocumentOpenedEventArgs
    DocumentClosingEventArgs
    DocumentClosedEventArgs
    DocumentSavingEventArgs
    DocumentSavedEventArgs
    DocumentModifiedEventArgs
    DocumentSwitchedEventArgs
    EntityAddingEventArgs
    EntityAddedEventArgs
    EntitiesAddingEventArgs
    EntitiesAddedEventArgs
    EntityModifiedEventArgs
    EntityErasingEventArgs
    EntityErasedEventArgs
    EntitiesErasingEventArgs
    EntitiesErasedEventArgs
    CommandStartingEventArgs
    CommandStartedEventArgs
    CommandEndedEventArgs
    CommandCancelledEventArgs
    LayerAddingEventArgs
    LayerAddedEventArgs
    LayerDeletingEventArgs
    LayerDeletedEventArgs
    LayerModifiedEventArgs
    CurrentLayerChangedEventArgs
    SelectionChangedEventArgs
    SelectionClearedEventArgs
    ViewZoomedEventArgs
    ViewPannedEventArgs
    ViewRegeneratedEventArgs
    BlockAddingEventArgs
    BlockAddedEventArgs
    BlockDeletingEventArgs
    BlockDeletedEventArgs
    BlockModifiedEventArgs
    DocumentUploadingEventArgs
    DocumentUploadedEventArgs
    DocumentDownloadingEventArgs
    DocumentDownloadedEventArgs
    DocumentSyncStatusChangedEventArgs
    DocumentCachingEventArgs
    DocumentCachedEventArgs
    DocumentRestoringEventArgs
    DocumentRestoredEventArgs
    DocumentCacheClearedEventArgs
    BranchInfo
    BranchCreatingEventArgs
    BranchCreatedEventArgs
    BranchSwitchingEventArgs
    BranchSwitchedEventArgs
    BranchMergingEventArgs
    BranchMergedEventArgs
    BranchDeletingEventArgs
    BranchDeletedEventArgs
    PatchInfo
    PatchCreatingEventArgs
    PatchCreatedEventArgs
    PatchApplyingEventArgs
    PatchAppliedEventArgs
    PatchRevertingEventArgs
    PatchRevertedEventArgs
    ConflictItem
    ConflictDetectedEventArgs
    ConflictResolvingEventArgs
    ConflictResolvedEventArgs
    ConflictSkippedEventArgs
    PluginLoadingEventArgs
    PluginLoadedEventArgs
    PluginActivatingEventArgs
    PluginActivatedEventArgs
    PluginDeactivatingEventArgs
    PluginDeactivatedEventArgs
    PluginUnloadingEventArgs
    PluginUnloadedEventArgs
    PluginErrorEventArgs
    ContextMenuItemInfo
    ContextMenuOpeningEventArgs
    ContextMenuOpenedEventArgs
    ContextMenuItemClickedEventArgs
    GBulgePoint
    IconRegistryOptions
    IconInfo
    OsnapInfo
    ScriptContext
    ParsedLine
    PluginManifest
    Plugin
    PluginSource
    PluginInfo
    PluginLoadOptions
    MarketplacePluginInfo
    PluginCacheEntry
    IPluginContext
    PluginLoadResult
    PluginMarketResponse
    ReactorEventArgs
    OwnerReference
    IEntityReactor
    ReactorRelationData
    GraphicsBucketManagerConfig
    IServerMapVersion
    IServerMapInfo
    IAllDrawingsResponse
    IOpenDrawingParams
    IOpenDrawingResult
    ISaveDrawingParams
    IExportToDwgParams
    FindOptions
    FindResult
    IEditAreaRecord
    ILocalDrawingRecord
    ILocalDrawingListItem
    ILocalSymbolCategory
    ILocalSymbolRecord
    EntityTypeOption
    OperatorOption
    PropertyDefinition
    FilterCondition
    ScopeOption
    SelectionModeOption
    QuickSelectResult
    IMapStyleParam
    IOpenMapBaseParam
    IOpenMapParam
    IUpdateMapParam
    IOpenMapResponse
    ITileUrlParam
    IQueryBaseFeatures
    IPointQueryFeatures
    IRectQueryFeatures
    IExprQueryFeatures
    IConditionQueryFeatures
    IMapLayer
    IUpdateStyle
    ISliceLayer
    ISliceCacheZoom
    IWmsTileUrl
    IDeleteStyle
    IDeleteCache
    IExportLayout
    IMatchObject
    IExtractTable
    ISplitChildMaps
    IComposeNewMap
    IMapDiff
    ICreateEntitiesGeomData
    IWorkspace
    IEditArea
    IPatchInfo
    IBranchSourceInfo
    IBranchInfo
    IListWebcadDrawsParams
    IWebcadDrawInfo
    IListWebcadDrawsResponse
    IGetWebcadDataParams
    IGetWebcadDataResponse
    IConflictEntityInfo
    IConflictLayerInfo
    ISaveWebcadPatchParams
    ISaveWebcadPatchResponse
    IDeleteWebcadDrawParams
    IDeleteWebcadDrawResponse
    ICreateBranchParams
    ICreateBranchResponse
    IDeleteBranchParams
    IDeleteBranchResponse
    IMergeBranchParams
    IMergeBranchResponse
    IExportWebcadParams
    IExportWebcadResponse
    ISymbolCategory
    ISymbolMeta
    ISymbolListQuery
    ISymbolListResult
    ISymbol
    ICreateSymbolParams
    IUpdateSymbolParams
    IAdminEditPolicy
    ISymbolConfig
    SettingOption
    SettingDefinition
    Config
    Response
    IRequest
    ShapeRenderOptions
    ShapePoint2D
    PathCommand
    ShapePath
    TileCoord
    TileSprite
    TileRequest
    WmsTileConfig
    TileUpdateParams
    TileSchedulerEvents
    TileDebugInfo
    IBranchCreateDialogConfig
    IBranchCreateDialogResult
    IBranchMergeDialogConfig
    IBranchMergeDialogResult
    CadMapOverlayOptions
    IConflictResolutionConfig
    IEntityResolution
    IConflictResolutionResult
    IConflictItem
    DimStyleDialogResult
    DimStyleEditResult
    IDrawingBrowserResult
    IServerMapSelectResult
    IExportDwgOptions
    IExportDwgOptionsResult
    IImportDwgOptions
    IImportDwgOptionsResult
    IUploadMapResult
    InputDialogConfig
    SelectDialogConfig
    InputDialogResult
    ILocalDrawingBrowserResult
    PluginConfig
    MainViewConfig
    PreviewViewConfig
    RecentCommand
    RibbonButtonConfig
    RibbonGroupConfig
    RibbonTabConfig
    RibbonConfig
    DocumentTabsConfig
    TabContextMenuItem
    ISaveDrawingDialogConfig
    ISaveDrawingDialogResult
    SettingsDialogResult
    ILayerInfo
    ITileEditLayerDialogConfig
    ITileEditLayerDialogResult
    DoubleLineSegment
    DoubleLinePoints
    TableExtractOptions
    FontInfo
    TableItemData
    TableExtractParams
    TableExtractInput
    TableAttr
    TableData
    TableExtractResult

    Type Aliases

    SnapPointType
    GripPointType
    OrdinateDisplayMode
    ArrowType
    LineType
    OperationType
    TextAlignment
    DocumentStorageSource
    SyncStatus
    ConflictType
    ConflictResolution
    EventHandler
    SubGeometry
    PointInput
    CommandClass
    EntityTypeFilter
    PropertyType
    StringOperator
    NumberOperator
    BooleanOperator
    Operator
    SearchScope
    SelectionMode
    SettingValueType
    GeoPointLike
    TileState
    CadBoundsLike
    OpenWayType
    OpenModeType
    View3DMode
    RibbonButtonType
    RibbonGroupDisplayMode
    YesNoDialogType
    YesNoDialogResult
    TemplateResult

    Variables

    SpatialIndex
    JIS_LC_8_PATTERN
    JIS_LC_20_PATTERN
    JIS_RC_10_PATTERN
    JIS_RC_15_PATTERN
    JIS_RC_18_PATTERN
    JIS_RC_30_PATTERN
    JIS_WOOD_PATTERN
    ANSI31_PATTERN
    ANSI37_PATTERN
    HATCH_PATTERN_NAMES
    DefaultDimensionStyle
    ANGLE_0
    ANGLE_45
    ANGLE_90
    ANGLE_135
    ANGLE_180
    ANGLE_225
    ANGLE_270
    ANGLE_315
    ANGLE_360
    ArrowTypeEnum
    LineTypeEnum
    OperationTypeEnum
    TextAlignmentEnum
    createBSplineWithDomain
    PerformanceMonitor
    monitorExports
    performanceMonitorInstance
    actbarIcons
    commandsIcons
    funcButtonsIcons
    layerDialogIcons
    miscIcons
    osnapIcons
    paletteLayerIcons
    palettePlotIcons
    paletteIcons
    default
    EmptyCommandAlias
    SelectionModeEnum
    InputStatusEnum
    LinetypeElementType
    TextRotationMode
    TokenType
    MTextLineAlignment
    MTextParagraphAlignment
    MTextStroke
    CadPatternDef
    PickUtils
    tea
    ENTITY_TYPE_OPTIONS
    STRING_OPERATORS
    NUMBER_OPERATORS
    BOOLEAN_OPERATORS
    SCOPE_OPTIONS
    SELECTION_MODE_OPTIONS
    SETTINGS_DEFINITIONS
    httpHelper
    globalShapeManager
    DrawingBrowserDialogElement
    InputDialogElement
    LineTypeDialogElement
    LayerNameDialogElement
    LayerTransparencyDialogElement
    LocalDrawingBrowserDialogElement
    MainViewElement
    ContextMenuAction
    DocDropDownElement
    SideBarFrameElement
    ActivityBarElement
    AutoComplteRowElement
    AutoCompleteElement
    defaultRibbonConfig
    defaultDocumentTabsConfig
    defaultContextMenuItems
    SaveDrawingDialogElement
    YesNoDialogElement
    LINE_WEIGHT_VALUES
    commoncss
    TOLERANCE
    defaultPropertyOptions
    message
    AppIconSvg
    AppDisableIconSvg
    unsafeSVGHtml
    html
    noChange
    nothing

    Functions

    destroyFindReplacePanel
    destroyQuickSelectPanel
    refreshRemainModelEntities
    regen
    DrawBezierCurve
    createDimensionArrow
    formatDimensionValue
    formatAngleValue
    calculateTextOffset
    getArrowTypeName
    getAllArrowTypes
    isGLine
    isGArc
    isGCircle
    isGEllipse
    isLineType
    isArcType
    isCircleType
    isEllipseType
    calculatePolygonArea
    sortEdgeByArea
    findIntersections
    findLineArcIntersections
    findLineCircleIntersections
    check3DBoundingBoxIntersection
    checkPolylineIntersection
    checkHatchIntersection
    checkPatternHatchIntersection
    calculateBoundingBoxFromPoints
    checkTextBoundsIntersection
    checkGroupIntersection
    getArcLineIntersectionsSimple
    getArcLineIntersectionsAlt
    mergeBoundingBoxes
    isLineExists
    filterHatchSegments
    generateHatchPatternLines
    calculateLineIntersections
    isTextIntersectWithBox
    pointInPolygon
    convertArcToDeviceCoordinates
    convertGArcToDeviceCoordinates
    convertLineToDeviceCoordinates
    calculatePerpendicularPoint
    getArcLineIntersectionsEx
    getLineCircleIntersections
    getCircleLineIntersectionsAdvanced
    getCircleLineIntersectionsSimple
    getCircleCircleIntersections
    getCircleArcIntersectionsFiltered
    getArcCircleIntersections
    getLineExtArcExtIntersections
    getLineExtArcIntersections
    getCircleLineExtIntersectionsEx
    getArcExtLineExtIntersections
    getArcLineIntersections
    getArcLineExtIntersections
    getCircleLineIntersections
    getCircleLineExtIntersections
    getComplexLineIntersection
    getLineExtLineIntersections
    getLineExtLineExtIntersections
    getLineLineIntersections
    getLineLineExtIntersections
    getLineExtLineExt1Intersections
    getLineLineExt1Intersections
    getObjectLineExtLineIntersections
    getObjectLineExtLineExt2Intersections
    getObjectLineLineExt2Intersections
    getLineEntityIntersections
    getLineExtEntityIntersectionsEx
    getLineExtendedEntityIntersections
    getLineExtExtendedEntityIntersections
    getLineEntityCollectionIntersections
    getLineExtEntityIntersections
    getArcEntityIntersections
    getCirclePolylineIntersections
    getArcExtendedEntityIntersections
    getArcExtExtendedEntityIntersections
    getCircleEntityIntersectionsSimple
    getCircleEntityIntersections
    getExtendedEntityPolylineIntersections
    getLineIntersections
    toPoint2D
    buildIndexedString
    createIndexAccessor
    createDataTypeAccessor
    isNullOrUndefined
    BSplineConstructor
    getParameterDomain
    drawFilledRegion
    drawPatternFill
    drawPolyline
    drawSolidFill
    createBulgePointsFromEntities
    writeMessage
    getPoint
    getString
    getKeyword
    getCorner
    getInteger
    getReal
    getEntity
    getSelections
    ssGetFirst
    ssSetFirst
    rgb2int
    int2rgb
    escapeDxfLineEndings
    hasInlineFormattingCodes
    getFonts
    parseMText
    parseMTextToTextObjects
    isEntityReactor
    hitTestEllipse
    hitTestCircle
    hitTestPolyline
    hitTestPattern
    hitTestSpline
    hitTestRect
    hitTestGroup
    getOsnapValueFromString
    encryptToBase64
    decryptFromBase64
    getLocalStorageService
    openMapDarkStyle
    openMapLightStyle
    getSettingsCacheService
    geoBounds
    geoPoint
    tileKey
    parseTileKey
    startUndoMark
    endUndoMark
    showExportDwgOptionsDialog
    HandleFileDrop
    showImportDwgOptionsDialog
    showInputDialog
    showSelectDialog
    showPrompt
    createDynamicMenuPanel
    showPluginManagerDialog
    getRecentCommandsManager
    showTileEditLayerDialog
    showConfirm
    showWarningConfirm
    showInfo
    showError
    normalizeAngle
    normalizeAngleAlt
    normalizeDegrees
    normalizeAngleEx
    polarToCartesian
    colorNameToIndex
    colorIndexToName
    transparencyToString
    lineWeightToString
    getMidPoint
    isPointOnRay
    getLineSegmentIntersection
    getLineIntersection
    rotatePointAroundCenter
    scalePointAlongVector
    rotatePointInPlace
    scalePointInPlace
    getAngleBetweenPoints
    boundsIntersect
    removeDuplicatePoints
    customElementDecorator
    propertyDecorator
    propertyDecoratorFactory
    querySelectorDecorator
    applyDecorators
    safeCustomElementRegistration
    initCadContainer
    getCadViewContainer
    getCadDialogContainer
    entitiesToPolylineVertices
    getEntityBounds
    updateTimeStamp
    removeTimeStamp
    formatDate
    getFileExtension
    getDirPath
    getFileName
    getFilePath
    getFileNameBase
    getRawObject
    delay
    isEntityInArray
    formatNumberEx
    distance
    isEqual
    isGreaterOrEqual
    isLessOrEqual
    isGreater
    isLess
    isPointEqual
    isAllElementsEqual
    formatNumber
    numberToString
    readUint16LittleEndian
    parseConfigValue
    convertToFloat64
    compareArrays
    findSubArray
    convertToHexArray
    extractDefaultExport
    getFileTypeByExtension
    getDocumentStatusIndicator
    getServiceHash
    offsetLine
    expandArc
    calculateDoubleLinePoints
    createDoubleLineSegment
    closeDoubleLineSegment
    createDoubleButtCap
    createDoubleSquareCap
    createDoubleRoundCap
    getPatternUnitSize
    calculateHatchPatternScale
    randInt
    degreesToRadians
    radiansToDegrees
    getLineBoundingBox
    getArcBoundingBox
    parseNumberToStr
    calcForceAngle
    roundToDecimalPlace
    extractTables
    getTableExtractLayers
    applyTextReplacements
    addTextReplacementRule
    removeTextReplacementRule
    getTextReplacementRules
    clearTextReplacementRules
    resetToDefaultRules
    textAlignStringToEnum
    decodeUnicodeString
    wrapTextToLines
    isHalfWidthChar
    calculateStringWidth
    trimWhitespace
    hasInvalidChars
    css
    getWebCadCoreService