BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Class MarkupShapeAbstract

    Abstract class representing a markup shape.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • owner: BaseBimCanvas
      • x: number
      • y: number
      • Optionalwidth: number
      • Optionalheight: number

      Returns MarkupShape

    Methods

    • Returns Node

    • Returns void

    • Returns void

    • Returns Shape

    • Sets the background color of the shape.

      Parameters

      • color: string

        The background color.

      Returns any

    • Sets the foreground color of the shape.

      Parameters

      • color: string

        The foreground color.

      Returns any

    • Sets the stroke width of the shape.

      Parameters

      • width: number

        The stroke width.

      Returns any

    • Enables or disables the shadow for the shape.

      Parameters

      • enabled: boolean

        True to enable shadow, false to disable.

      Returns any

    • Checks if the shape has shadows enabled.

      Returns boolean

      True if shadows are enabled, false otherwise.

    • Parameters

      • val: boolean

      Returns void

    • Returns GetSet<boolean, Node<NodeConfig>>

    • Returns void

    • Returns boolean