Function getOverlapOffset
- getOverlapOffset(r1: BoundingBox, r2: BoundingBox, horizontalPadding?: number, verticalPadding?: number): {
dx: number;
dy: number;
}
-
Parameters
-
-
-
horizontalPadding: number = DEFAULT_HORIZONTAL_PADDING
-
verticalPadding: number = DEFAULT_VERTICAL_PADDING
Returns {
dx: number;
dy: number;
}