키보드 » Api

getrect

Description

컴포넌트 좌표 배열을 반환하는 API이다.

Return Value

Type Description
void 없음

Remark

좌표 배열은 아래값을 순차적으로 가지고 있다.

Example

function btn_getrect_on_mouseup() { var arrPos = fldNormal.getrect(); screen.alert("부모 기준 좌측 좌표 : " + arrPos[0] + ", 부모 기준 상단 좌표 : " + arrPos[1] + ", 컴포넌트 좌측 기준 우측 좌표 : " + arrPos[2] + ", 컴포난트 상단 기준 하단 좌표 : " + arrPos[3]); }

See Also

getbottom
getheight
getleft
getright
getwidth
gettop
getrectex

Viewer Ver.

9.1.1.1

Update Date

20230926