Skip to main content

OutOfBoundsError

@3dverse/livelink v0.8.10


@3dverse/livelink / OutOfBoundsError

Class: OutOfBoundsError

Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:108

Occurs when an element is not contained into its parent bounds.

Extends

  • Error

Constructors

new OutOfBoundsError()

new OutOfBoundsError(rect, parentRect): OutOfBoundsError

Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:122

Parameters

rect

DOMRect

parentRect

DOMRect

Returns

OutOfBoundsError

Overrides

Error.constructor

Properties

rect

rect: DOMRect

Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:112

Element bounds.


parentRect

parentRect: DOMRect

Defined in: livelink.js/sources/rendering/surfaces/Rect.ts:117

Parent bounds.


cause?

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from

Error.cause


name

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from

Error.name


message

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

Error.message


stack?

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from

Error.stack