Table of Contents

Field ClosestCenter

Namespace
Velvet
Assembly
Velvet.Docs.dll

Every droppable, ranked by the distance from its center to the active rect's center, nearest first — the forgiving strategy sortable lists and coarse grids want. Equal distances keep registration order. A rect with a NaN edge is left out.

public static readonly DndCollisionDetection ClosestCenter

Returns

DndCollisionDetection
Every droppable, ranked by the distance from its center to the active rect's center, nearest first — the forgiving strategy sortable lists and coarse grids want. Equal distances keep registration order. A rect with a NaN edge is left out.