Skip to main content

abstractMarkupEntityBase

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

Hierarchy

Implements

Index

Properties

publicreadonlyid

id: string

publicreadonlyproperties

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

Accessors

abstractisEnabled

  • get isEnabled(): boolean
  • set isEnabled(b: boolean): void
  • Returns true if the entity and the sheet it belongs to are both enabled, otherwise false.


    Returns boolean

  • Sets if entity is enabled


    Parameters

    • b: boolean

    Returns void

Methods

abstractclone

  • Makes a deep copy of this entity


    Returns MarkupEntityBase

abstractisEqual

  • Compares if this entity is equal to another entity


    Parameters

    Returns boolean

abstractmarkAsDeleted

  • markAsDeleted(): boolean
  • Marks the entity as deleted in the MarkupSheet2D.


    Returns boolean

    true if object was deleted. Otherwise false.

abstractmarkAsUpdated

  • markAsUpdated(): boolean
  • Sets the entity as updated in the layer API.


    Returns boolean

    true if object did exist, otherwise false

abstractonAdded

abstractonDelete

abstractonUpdate