Foxit PDF RDK

Static Public Member Functions | List of all members
FoxitPDFViewCtrl.SDKUtil Class Reference

SDKUtil Class. More...

## Static Public Member Functions
static | intersect (a, b)

## Detailed Description

SDKUtil Class.

## Member Function Documentation

## ◆ intersect()

static FoxitPDFViewCtrl.SDKUtil.intersect | ( | a | ,
|  | b |
| ) |  |
| static

If the a rectangle intersects b rectangle, return true and set a rectangle to that intersection, otherwise return false and do not change a.

Parameters

  a | The first rectangle being tested for intersection (in pdf coordinate.)
  b | The second rectangle being tested for intersection (in pdf coordinate.)

Returns
  true if the a rectangle and b intersect (and a rectangle is then set to that intersection) else return false and do not change a rectangle.