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() → booltrivial이 설정된 경우 true를 반환합니다.
IsEmpty() → boolempty가 설정된 경우 true를 반환합니다.
IsPoint() → boolpoint가 설정된 경우 true를 반환합니다.

참조

 한국어