@twinfinity/core
    Preparing search index...

    Class MarkupEntityBaseAbstract

    Base class for markup entities and Markup sheets in the Markup API.

    Hierarchy (View Summary)

    Implements

    Index

    Properties

    id: string
    properties: Map<string, MarkupProperty> = ...

    Accessors

    • get isEnabled(): boolean

      Returns true if the entity and the sheet it belongs to are both enabled, otherwise false.

      Returns boolean

    • set isEnabled(b: boolean): void

      Sets if entity is enabled

      Parameters

      • b: boolean

      Returns void

    Methods

    • Compares if this entity is equal to another entity

      Parameters

      Returns boolean

    • Marks the entity as deleted in the MarkupSheet2D.

      Returns boolean

      true if object was deleted. Otherwise false.

    • Sets the entity as updated in the layer API.

      Returns boolean

      true if object did exist, otherwise false