Creates an instance of BimCTOverlay.
The owning canvas.
Gets the primary canvas element.
The primary canvas HTMLCanvasElement.
Destroys the overlay and clears any timeouts.
Creates the splash screen element.
The splash screen HTMLDivElement.
Creates the date and time spinner element.
The date and time spinner HTMLDivElement.
Sets the date and time displayed on the spinner.
The date and time to display.
Creates the game legend element.
The game legend HTMLDivElement.
Removes the game legend element.
Creates the primary canvas element.
The primary canvas HTMLCanvasElement.
Reconstructs the extrusions in the canvas widget. This method is asynchronous and returns a promise that resolves when the reconstruction is complete.
Removes the date and time spinner element.
Removes the splash screen element.
Sets the visibility of the splash screen.
The background image URL.
Whether the splash screen is visible.
Gets the visibility of the splash screen.
Whether the splash screen is visible.
Sets the visibility of the game legend.
Whether the game legend is visible.
Checks if the overlay is fully visible.
Whether the overlay is fully visible.
Resizes the canvas and updates the overlay.
The new width.
The new height.
Updates the rubberband selection area.
The x-coordinate.
The y-coordinate.
The width.
The height.
Clears the rubberband selection area.
Clears the loading status.
Sets the top center message.
The message to display.
Clears the top center message.
Sets the top left message.
The message to display.
Whether the message should have a line through it.
Clears the top left message.
Sets the fill message.
The message to display.
Clears the fill message.
Checks if the top left label is visible.
Whether the top left label is visible.
Checks if the top center label is visible.
Whether the top center label is visible.
Sets the visibility of the top center label.
Whether the top center label is visible.
Sets the visibility of the top left label.
Whether the top left label is visible.
Sets the loading progress and message.
The loading percentage.
The loading message.
Redraws the canvas.
Clears the loading status.
Checks if the overlay is loading.
Whether the overlay is loading.
Sets a 2D symbol on the canvas.
The x-coordinate.
The y-coordinate.
The red color value.
The green color value.
The blue color value.
The symbol type.
Whether the symbol is enabled.
Adds a label to the canvas.
The label text.
The x-coordinate.
The y-coordinate.
The label orientation.
The rotation angle.
Whether the label has a background.
Whether the label has a border.
The created LabelWidget.
Adds a 3D polyline to the canvas.
The renderer to use.
The created PolyLineWidget3D.
Adds a 3D polyline to the canvas.
The renderer to use.
The created PolyLineWidget3D.
Adds a ruler to the canvas.
The renderer to use.
The created MeasureRulerWidget3D.
Creates a linear shape widget for 3D rendering. Use setPoints to show the linear widget or bind it to a Measurement using bindLinearWidget in Measurement class.
thickness of the line in mm
color of the line
pattern of the line (solid, dashed, dotted, etc.)
LinearShapeWidget3D instance
Creates an area shape widget for 3D rendering. Use setPoints to show the area widget or bind it to a Measurement using bindAreaWidget in Measurement class.
Gets the canvas widget.
The canvas widget.
The main overlay class for the BIM canvas.