Class: FitToElementButton

FitToElementButton

Class representing a button that fits the view to the bounding box of an IFC element. Inherits from IFCButton and provides functionality specific to fitting the view to an IFC element.

new FitToElementButton(ui)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/ifc-buttons/fit-to-element.button.ts, line 20

Constructor for the FitToElementButton class.

Name Type Description
ui GoIFCUI

The GoIFCUI instance to be associated with this button.

Extends

  • undefined

Members

static,readonlyFitToElementButton.optsFitToElementObject

The options for the fit to element toolbar button.

Properties:
Name Type Description
id string

The unique identifier for the toolbar button.

title string

The title of the toolbar button.

icon string

The icon for the toolbar button.