Table of Contents

Field ClosestCorners

Namespace
Velvet
Assembly
Velvet.Docs.dll

Every droppable, ranked by the mean distance between its four corners and the active rect's corresponding four (top-left, top-right, bottom-left, bottom-right), rounded to four decimals, nearest first. Equal values keep registration order. A rect with a NaN edge is left out.

public static readonly DndCollisionDetection ClosestCorners

Returns

DndCollisionDetection
Every droppable, ranked by the mean distance between its four corners and the active rect's corresponding four (top-left, top-right, bottom-left, bottom-right), rounded to four decimals, nearest first. Equal values keep registration order. A rect with a NaN edge is left out.