AnnotationAnchor
Type alias in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Type alias
TypeScript#
type AnnotationAnchor = "center" | AnnotationAnchorVertical | AnnotationAnchorDepth | AnnotationAnchorSide | `${AnnotationAnchorVertical}-${AnnotationAnchorDepth}` | `${AnnotationAnchorVertical}-${AnnotationAnchorSide}` | `${AnnotationAnchorDepth}-${AnnotationAnchorSide}` | `${AnnotationAnchorVertical}-${AnnotationAnchorDepth}-${AnnotationAnchorSide}`;A point of an object's box in its model's own axes (docs/annotation-anchors-design.md §3.1): "center", or up to three words in the order vertical, depth, side, joined with "-"; the middle along an axis left out. "top" is the middle of the top face, "top-back-left" a corner of it, "left" the middle of the left face