Skip to main content

IntersectingVertex

IntersectingVertex<EL> = object

Details for a vertex that is enclosed by, or intersects, some specified region. The type parameter T will either be a Node or a Group. EL is the type parameter for the element in the UI.

Type Param

The type of the model object that is intersecting - a Node or a Group.

Type Parameters

EL

EL

The element type for the UI. In the browser-ui package this is BrowserElement - an HTML or SVG element.

Properties

el

el: EL

The element representing the vertex in the UI


enclosed

enclosed: boolean

True if the vertex is enclosed by the region, false if the vertex only intersects the region.


id

id: string

The ID of the vertex


r

r: RectangleXY

Intersecting region


v

v: Node | Group

The vertex that intersects