Rectangle
Rectangle
개요
Rectangle은 Aspose.PDF FOSS for C++의 클래스입니다.
이 클래스는 C++ 프로그램에서 Rectangle 객체를 다루기 위한 28개의 메서드를 제공합니다. 사용 가능한 메서드에는 Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial 및 추가 11개의 메서드가 포함됩니다. 모든 public 멤버는 Aspose.PDF FOSS for C++ 패키지를 설치한 후 어떤 C++ 애플리케이션에서도 사용할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
Equals(other: Rectangle) → bool | 이 Rectangle 인스턴스에서 Equals(other)를 호출합니다. |
NearEquals(other: Rectangle, delta: double) → bool | 이 Rectangle 인스턴스에서 NearEquals(other, delta)를 호출합니다. |
Intersect(otherRect: Rectangle) → Rectangle | 이 Rectangle 인스턴스에서 Intersect(otherRect)를 호출합니다. |
Join(otherRect: Rectangle) → Rectangle | 이 Rectangle 인스턴스에서 Join(otherRect)를 호출합니다. |
IsIntersect(otherRect: Rectangle) → bool | 이 Rectangle 인스턴스에서 IsIntersect(otherRect)를 호출합니다. |
Contains(point: Point, inclusive: bool) → bool | 이 Rectangle 인스턴스에서 Contains(point, inclusive)를 호출합니다. |
ContainsPoint(x: double, y: double) → bool | 이 Rectangle 인스턴스에서 ContainsPoint(x, y)를 호출합니다. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | 이 Rectangle 인스턴스에서 ContainsLine(x1, y1, x2, y2)를 호출합니다. |
Center() → Point | 이 Rectangle 인스턴스에서 Center를 호출합니다. |
Rotate(angle: Rotation) | 이 Rectangle 인스턴스에서 Rotate(angle)를 호출합니다. |
Rotate(angle: int) | 이 Rectangle 인스턴스에서 Rotate(angle)를 호출합니다. |
ToPoints() → std::vector<Point> | 이 Rectangle 인스턴스에서 ToPoints를 호출합니다. |
MoveBy(dx: double, dy: double) | 이 Rectangle 인스턴스에서 MoveBy(dx, dy)를 호출합니다. |
Width() → double | 이 Rectangle 인스턴스에서 Width를 호출합니다. |
Height() → double | 이 Rectangle 인스턴스에서 Height를 호출합니다. |
LLX() → double | 이 Rectangle 인스턴스에서 LLX를 호출합니다. |
LLX(value: double) | 이 Rectangle 인스턴스에서 LLX(value)를 호출합니다. |
LLY() → double | 이 Rectangle 인스턴스에서 LLY를 호출합니다. |
LLY(value: double) | 이 Rectangle 인스턴스에서 LLY(value)를 호출합니다. |
URX() → double | 이 Rectangle 인스턴스에서 URX를 호출합니다. |
URX(value: double) | 이 Rectangle 인스턴스에서 URX(value)를 호출합니다. |
URY() → double | 이 Rectangle 인스턴스에서 URY를 호출합니다. |
URY(value: double) | 이 Rectangle 인스턴스에서 URY(value)를 호출합니다. |
Empty() → Rectangle | 이 Rectangle 인스턴스에서 Empty를 호출합니다. |
Trivial() → Rectangle | 이 Rectangle 인스턴스에 대해 Trivial을 호출합니다. |
IsTrivial() → bool | trivial이 설정된 경우 true를 반환합니다. |
IsEmpty() → bool | empty가 설정된 경우 true를 반환합니다. |
IsPoint() → bool | point가 설정된 경우 true를 반환합니다. |