SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function rotatePoints

    • Rotate all points around a center point.

      Parameters

      • points: Point[]

        The array of points to rotate.

      • deg: number

        The rotation angle in degrees.

      • Optionalcenter: Point

        The center point to rotate around. If not provided, the center of the bounding box of the points is used.

      Returns Point[]

      An array of rotated points [tl, tr, br, bl].