다음을 통해 공유


CAnimationRect 클래스

면에 애니메이션을 적용할 수 있는 사각형 기능을 구현합니다.

class CAnimationRect : public CAnimationBaseObject;

Members

Gg466504.collapse_all(ko-kr,VS.110).gifPublic 생성자

Name

설명

CAnimationRect::CAnimationRect

오버로드.애니메이션 rect 개체를 생성합니다.

Gg466504.collapse_all(ko-kr,VS.110).gifPublic 메서드

Name

설명

CAnimationRect::AddTransition

왼쪽, 위쪽, 오른쪽 및 아래쪽 좌표에 대한 전환을 추가합니다.

CAnimationRect::GetBottom

아래쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다.

CAnimationRect::GetDefaultValue

사각형 경계의 기본값을 반환합니다.

CAnimationRect::GetLeft

왼쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다.

CAnimationRect::GetRight

오른쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다.

CAnimationRect::GetTop

위쪽 좌표를 나타내는 CAnimationVariable에 대한 액세스를 제공합니다.

CAnimationRect::GetValue

현재값을 반환합니다.

CAnimationRect::SetDefaultValue

기본값을 설정합니다.

Gg466504.collapse_all(ko-kr,VS.110).gifProtected 메서드

Name

설명

CAnimationRect::GetAnimationVariableList

캡슐화된 애니메이션 변수를 목록에 추가합니다.(CAnimationBaseObject::GetAnimationVariableList 무시.)

Gg466504.collapse_all(ko-kr,VS.110).gifPublic 연산자

Name

설명

CAnimationRect::operator RECT

CAnimationRect를 RECT로 변환합니다.

CAnimationRect::operator=

CAnimationRect에 rect를 할당합니다.

Gg466504.collapse_all(ko-kr,VS.110).gif공용 데이터 멤버

Name

설명

CAnimationRect::m_bFixedSize

사각형의 크기가 고정되어 있는지 여부를 지정합니다.

Gg466504.collapse_all(ko-kr,VS.110).gif보호된 데이터 멤버

Name

설명

CAnimationRect::m_bottomValue

애니메이션 사각형의 아래쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다.

CAnimationRect::m_leftValue

애니메이션 사각형의 왼쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다.

CAnimationRect::m_rightValue

애니메이션 사각형의 오른쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다.

CAnimationRect::m_szInitial

애니메이션 사각형의 초기 크기를 지정합니다.

CAnimationRect::m_topValue

애니메이션 사각형의 위쪽 경계를 나타내는 캡슐화된 애니메이션 변수입니다.

설명

CAnimationRect 클래스는 네 개의 CAnimationVariable 개체를 캡슐화하고 응용 프로그램을 한 사각형으로 나타낼 수 있습니다.응용 프로그램에서 이 클래스를 사용하려면 이 클래스의 개체를 인스턴스화하고 CAnimationController::AddAnimationObject를 사용하여 애니메이션 컨트롤러에 추가하고 왼쪽, 오른쪽 상단 및 하단 좌표에 적용할 각 전환에 대해 AddTransition을 호출합니다.

상속 계층 구조

CObject

CAnimationBaseObject

CAnimationRect

요구 사항

헤더: afxanimationcontroller.h

참고 항목

기타 리소스

MFC 클래스