blockly > utils > svgMath > getDocumentScroll

ฟังก์ชัน utils.svgMath.getDocumentScroll()

รับระยะการเลื่อนเอกสารเป็นวัตถุพิกัด คัดลอกจาก goog.dom.getDocumentScroll ของ Closure

ลายเซ็น:

export declare function getDocumentScroll(): Coordinate;

ส่งกลับ:

ประสานงาน

ออบเจ็กต์ที่มีค่า "x" และ "y"