Rect
내용물
[
숨다
]Rect class
사각형을 나타내는 클래스
메서드
constructor
| 이름 | 설명 |
|---|---|
| constructor() |
Result:
constructor_overload
| 이름 | 설명 |
|---|---|
| constructor_overload(x, y, width, height) | Rect 클래스의 생성자 |
Parameters:
| 이름 | 유형 | 설명 |
|---|---|---|
| 숫자 | null | |
| 숫자 | null | |
| 너비 | 숫자 | null |
| 높이 | 숫자 | null |
Result:
getWidth
| 이름 | 설명 |
|---|---|
| getWidth() | 크기의 너비를 가져오거나 설정합니다 |
Result:
setWidth
| 이름 | 설명 |
|---|---|
| setWidth(value) | 크기의 너비를 가져오거나 설정합니다 |
Result:
getHeight
| 이름 | 설명 |
|---|---|
| getHeight() | 크기의 높이를 가져오거나 설정합니다 |
Result:
setHeight
| 이름 | 설명 |
|---|---|
| setHeight(value) | 크기의 높이를 가져오거나 설정합니다 |
Result:
getX
| 이름 | 설명 |
|---|---|
| getX() | 크기의 x를 가져오거나 설정합니다 |
Result:
setX
| 이름 | 설명 |
|---|---|
| setX(value) | 크기의 x를 가져오거나 설정합니다 |
Result:
getY
| 이름 | 설명 |
|---|---|
| getY() | 크기의 y를 가져오거나 설정합니다 |
Result:
setY
| 이름 | 설명 |
|---|---|
| setY(value) | 크기의 y를 가져오거나 설정합니다 |
Result:
getLeft
| 이름 | 설명 |
|---|---|
| getLeft() | 사각형의 왼쪽을 가져옵니다 |
Result:
getRight
| 이름 | 설명 |
|---|---|
| getRight() | 사각형의 오른쪽을 가져옵니다 |
Result:
getTop
| 이름 | 설명 |
|---|---|
| getTop() | 사각형의 위쪽을 가져옵니다 |
Result:
getBottom
| 이름 | 설명 |
|---|---|
| getBottom() | 사각형의 아래쪽을 가져옵니다 |
Result:
contains
| 이름 | 설명 |
|---|---|
| contains(x, y) | 주어진 점이 사각형 내부에 있으면 true를 반환합니다. |
Parameters:
| 이름 | 유형 | 설명 |
|---|---|---|
| 숫자 | null | |
| 숫자 | null |
Result: boolean