CAnimationRect 클래스
면에 애니메이션을 적용할 수 있는 사각형 기능을 구현합니다.
class CAnimationRect : public CAnimationBaseObject;
Members
Public 생성자
Name |
설명 |
---|---|
오버로드.애니메이션 rect 개체를 생성합니다. |
Public 메서드
Name |
설명 |
---|---|
왼쪽, 위쪽, 오른쪽 및 아래쪽 좌표에 대한 전환을 추가합니다. |
|
아래쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다. |
|
사각형 경계의 기본값을 반환합니다. |
|
왼쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다. |
|
오른쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다. |
|
위쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다. |
|
현재값을 반환합니다. |
|
기본값을 설정합니다. |
Protected 메서드
Name |
설명 |
---|---|
캡슐화된 애니메이션 변수를 목록에 추가합니다.(CAnimationBaseObject::GetAnimationVariableList 무시.) |
Public 연산자
Name |
설명 |
---|---|
CAnimationRect를 RECT로 변환합니다. |
|
CAnimationRect에 rect를 할당합니다. |
공용 데이터 멤버
Name |
설명 |
---|---|
사각형의 크기가 고정되어 있는지 여부를 지정합니다. |
보호된 데이터 멤버
Name |
설명 |
---|---|
애니메이션 사각형의 아래쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다. |
|
애니메이션 사각형의 왼쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다. |
|
애니메이션 사각형의 오른쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다. |
|
애니메이션 사각형의 초기 크기를 지정합니다. |
|
애니메이션 사각형의 위쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다. |
설명
CAnimationRect 클래스는 네 개의 CAnimationVariable 개체를 캡슐화하고 응용 프로그램을 한 사각형으로 나타낼 수 있습니다.응용 프로그램에서 이 클래스를 사용하려면 이 클래스의 개체를 인스턴스화하고 CAnimationController::AddAnimationObject를 사용하여 애니메이션 컨트롤러에 추가하고 왼쪽, 오른쪽 상단 및 하단 좌표에 적용할 각 전환에 대해 AddTransition을 호출합니다.
상속 계층 구조
요구 사항
헤더: afxanimationcontroller.h