GraphPointAnimation QML Type
포인트에 대한 애니메이션을 나타내는 애니메이션 유형입니다. 더 보기...
Import Statement: | import QtGraphs |
Inherits: |
- 상속된 멤버를 포함한 모든 멤버 목록
- GraphPointAnimation은 Qt Graphs 2D용 QML 유형의 일부입니다.
속성
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
상세 설명
GraphPointAnimation은 QVariantAnimation 에서 파생된 애니메이션 유형으로, 포인트 애니메이션 방식을 정의합니다. duration
및 easing
와 같은 애니메이션에 QVariantAnimation 기능과 속성을 사용할 수 있습니다. 이러한 애니메이션은 QParallelAnimationGroup 안에 들어 있으므로 병렬로 실행됩니다.
이 예는 GraphPointAnimation을 사용하여 1000ms의 duration
및 easing
의 OutCubic으로 애니메이션할 포인트를 설정하는 방법을 보여줍니다:
import QtGraphs GraphsView { LineSeries { GraphTransition { GraphPointAnimation { duration: 1000; easingCurve.type: Easing.OutCubic } } } }
XYSeries 의 경우 시리즈 내부에 정의된 포인트의 주요 목록으로 간주됩니다. 포인트는 시작 값에서 끝 값까지 선형 보간됩니다.
참고: GraphPointAnimation은 현재 점이 추가되거나 제거될 때 계열의 마지막 점만 애니메이션을 지원합니다. 점이 교체되면 계열 내 점의 인덱스에 관계없이 애니메이션이 트리거됩니다.
GraphTransition 및 SplineControlAnimation 을참조하세요 .
속성 문서
AnimationState : enumeration |
애니메이션 상태.
Constant | 설명 |
---|---|
Playing | 애니메이션이 재생 중입니다. |
Stopped | 애니메이션이 중지되었습니다. |
GraphAnimationType : enumeration |
애니메이션 유형입니다.
상수 | 설명 |
---|---|
GraphPoint | GraphPointAnimation 애니메이션. |
ControlPoint | 컨트롤포인트 애니메이션 애니메이션. |
animating : GraphAnimation::AnimationState |
애니메이션 상태를 보유합니다. GraphAnimation::AnimationState 중 하나입니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.