DOMRect()DOMRect() 생성자는 새로운 DOMRect 객체를 생성합니다.구문jsnew DOMRect(x, y, width, height); 매개변수 x DOMRect 원점의 X 좌표입니다. y DOMRect 원점의 Y 좌표입니다. width DOMRect의 너비입니다. height DOMRect의 높이입니다. 반환 값새로운 DOMRect 객체.명세SpecificationGeometry Interfaces Module Level 1 # dom-domrect-domrect브라우저 호환성BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.같이 보기 DOMPoint (en-US) DOMRect DOMRect.fromRect()