iink-ts - v4.0.0
    Preparing search index...

    Variable BoxOpsConst

    BoxOps: {
        contains(box: TBox, child: TBox): boolean;
        containsPoint(box: TBox, point: TPoint): boolean;
        createFromBoxes(boxes: TBox[]): TBox;
        createFromPoints(points: TPoint[]): TBox;
        getCenter(box: TBox): TPoint;
        getCorners(box: TBox): TPoint[];
        getSide(box: TBox): TPoint[];
        getSides(box: TBox): TSegment[];
        getSnapPoints(box: TBox): TPoint[];
        isContained(box: TBox, wrapper: TBox): boolean;
        overlaps(box1: TBox, box2: TBox): boolean;
    } = ...

    Type Declaration

    • contains: function
      • Parameters

        Returns boolean

    • containsPoint: function
      • Parameters

        Returns boolean

    • createFromBoxes: function
      • Parameters

        Returns TBox

    • createFromPoints: function
      • Parameters

        Returns TBox

    • getCenter: function
      • Parameters

        Returns TPoint

    • getCorners: function
      • Parameters

        Returns TPoint[]

    • getSide: function
      • Parameters

        Returns TPoint[]

    • getSides: function
    • getSnapPoints: function
      • Parameters

        Returns TPoint[]

    • isContained: function
      • Parameters

        Returns boolean

    • overlaps: function
      • Parameters

        Returns boolean