Skip to main content

Boundary Limits

limitX / limitY constrain the rotated rectangle bounding box in the parent coordinate system.

<ReactDragResizeRotate w={180} h={120} r={15} limitX={[20, 620]} limitY={[20, 420]} />